[英]Does .NET 5 or 6 support Sqlite with database-first approach and .EDMX?
How can we migrate a .NET 4.5.2 class library with System.Data.SQlite
, database-first approach and an .EDMX
model file to .NET 5 or .NET 6? How can we migrate a .NET 4.5.2 class library with
System.Data.SQlite
, database-first approach and an .EDMX
model file to .NET 5 or .NET 6?
I agree with others.我同意其他人的观点。
You will need to use scaffolding to generate context and classes associated like below: https://www.entityframeworktutorial.net/efcore/create-model-for-existing-database-in-ef-core.aspx您将需要使用脚手架生成上下文和关联的类,如下所示: https://www.entityframeworktutorial.net/efcore/create-model-for-existing-database-in-ef-core.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.