简体   繁体   English

带有SQL Server Express文件的实体框架4

[英]Entity Framework 4 with SQL Server Express files

I know that if you use EF in a model-first manner in VS2010 with a standard SQL Server database then it is easy to apply the generated DDL to the database. 我知道,如果您在带有标准SQL Server数据库的VS2010中以模型优先的方式使用EF,那么将生成的DDL应用于数据库很容易。 Is there an easy way to do this with .mdf files (SQL Server Express Files) 是否有使用.mdf文件(SQL Server Express文件)执行此操作的简便方法

Thanks in advance. 提前致谢。

Sussed it properly, you need to apply the DDL by hand, normally using SQL Server Management Studio. 正确使用它,通常需要使用SQL Server Management Studio手动应用DDL。 You can alternatively use SQL Compact for development. 您也可以使用SQL Compact进行开发。

Just wanted to get it out there. 只是想把它拿出来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM