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

How to create a script containing SQL DDL (to create a database) from a .EDMX file from the command line?

+4
source share
1 answer

We do not know about such an instrument. However, you can write your own console application, which will:
1. Create an ObjectContext.

2. Download the metadata from the .edmx file.

3. Create a DDL script using the CreateDatabaseScript () method.

4. Save this script to a file.

+4
source

Source: https://habr.com/ru/post/1308027/


All Articles