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.
ストアド プロシージャのテキストを SQL Server に渡して実行するのと同様の効果が得られるものが必要ですか?
たとえば、identity_insert を設定してから値を挿入するには
このようなことを意味しますか?
context.Database.ExecuteSqlCommand("INSERT INTO....");
必要に応じて、複数のコマンドを使用できます。