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."
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."