Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

ef core dbfirst


Scaffold-DbContext "Server=yourserveraddress;Database=yourdatabase;user id=youruser;password=yourpassword;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -Context "YourOwnContext"

Source by w3programmers.org #
 
PREVIOUS NEXT
Tagged: #ef #core #dbfirst
ADD COMMENT
Topic
Name
5+4 =