Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

entity framework core genetare class using existing database

PM> Scaffold-DbContext "Server=.SQLExpress;Database=SchoolDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
Source by www.entityframeworktutorial.net #
 
PREVIOUS NEXT
Tagged: #entity #framework #core #genetare #class #existing #database
ADD COMMENT
Topic
Name
5+7 =