Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Commented Issue: UpForGrabs: Make it easy to use .sql files deployed alongside migrations in those migrations [561]

$
0
0
When you want to include quite a lot of SQL in a migration it is nice to be able to put it in a separate SQL file rather than inline in the code. It would be good if Migrations had a means to easily reference the SQL file rather than having to load it manually.
Comments: The other thing this should do is split on "GO" in the script into separate queries, at least for SQL Server, since you can't actually send "GO" using ExecuteNonQuery.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>