简体   繁体   English

.NET 5 或 6 是否支持采用数据库优先方法和 .EDMX 的 Sqlite?

[英]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.

相关问题 .Net O / R映射器,支持首先使用msaccess数据库的数据库 - .Net O/R mapper with support for database-first with msaccess databases 实体框架数据库优先方法 Pascal 案例 - Entity Framework database-first approach Pascal case 在数据库优先方法中更新模型实体框架时遇到问题 - having problem with updating model entity framework in database-first approach 具有输出参数和结果集的实体框架数据库优先方法存储过程 - Entity framework database-first approach stored procedure with output parameter and result set 是否可以使用数据库优先的Entity Framework 6更新SQLite数据库文件? - Is it possible to update a SQLite database file using Entity Framework 6 in database-first? 首先使用反向引擎代码的数据库不会生成edmx吗? - Database first with Reverse Enginer code first does not generated edmx? Linq-to-Sqlite是否支持使用Code First方法创建动态表? - Does Linq-to-Sqlite support dynamic table creation using Code First approach? 实体框架 - 混合模型优先和数据库优先方法? - Entity Framework - Mixing model-first and database-first approaches? Code-First或Database-First,如何选择? - Code-First or Database-First, how to choose? 具有 SQL 服务器凭据的数据库优先实体框架? - Database-First Entity Framework with SQL Server credentials?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM