开发者

How to create DDL from an EDMX file at the command line?

How do I create a script containing the SQL DDL (to create a database) from a .EDMX file from th开发者_开发技巧e command line?


We are not aware about such tool. However, you can write your own console application that will:
1. Create an ObjectContext.
2. Load metadata from the .edmx file.
3. Generate DDL script using the CreateDatabaseScript() method.
4. Save this script to file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜