Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

create models from database ef core

Scaffold-DbContext "Server=.SQLExpress;Database=SchoolDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
Source by www.entityframeworktutorial.net #
 
PREVIOUS NEXT
Tagged: #create #models #database #ef #core
ADD COMMENT
Topic
Name
9+3 =