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

Edited Issue: Create Database on SQL Azure is broken due to READ_COMMITTED_SNAPSHOT update [720]

$
0
0
When using EF to create a new database, the following code gets executed (my database name is "SnapshotIsolationTest"):<br /><br />create database [SnapshotIsolationTest]<br />if serverproperty('EngineEdition') <> 5 alter database [SnapshotIsolationTest] set read_committed_snapshot on<br /><br />Azure returns the following error:<br />"The CREATE DATABASE statement must be the only statement in the batch."

Viewing all articles
Browse latest Browse all 10318

Trending Articles



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