Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コマンドラインから .EDMX ファイルから (データベースを作成するための) SQL DDL を含むスクリプトを作成するにはどうすればよいですか?
そのようなツールについては認識していません。ただし、次のことを行う独自のコンソール アプリケーションを 作成できます。 1. ObjectContext を作成します。 2. .edmx ファイルからメタデータをロードします。 3. CreateDatabaseScript() メソッドを使用して DDL スクリプトを生成します。 4. このスクリプトをファイルに保存します。