Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

update models with ef core

Scaffold-DbContext "Server=myservermydb;Database=mydb;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models -t <table> -f
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #update #models #ef #core
ADD COMMENT
Topic
Name
8+5 =