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

Created Issue: Create Database on 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"):

create database [SnapshotIsolationTest]
if serverproperty('EngineEdition') <> 5 alter database [SnapshotIsolationTest] set read_committed_snapshot on

Azure returns the following error:
"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>