EntityFramework DB First Keyword not supported: 'port'

248 Views Asked by At

I want make model using db-first entity framwork.

so i enter the command like picture below.

but the error message shown as Keyword not supported: 'port'.

how do i fix this issue. thanks in advance.

enter image description here

1

There are 1 best solutions below

1
On

the syntax is incorrect , here you don't need to add the keyword 'port' instead of that try using SERVER_NAME comma PORT_NUMBER like this . its worked for me !

"server=SERVER_NAME,PORT_NUMBER;user=USER_NAME;password=PASSWORD;database=DB_NAME"