Skip to content

Commit a9f8717

Browse files
committed
NH-3807 - Set SupportSqlBatches to false for .netstandard.
1 parent ee0ad01 commit a9f8717

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/NHibernate/Dialect/MsSql2000Dialect.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,14 @@ public override bool SupportsUnionAll
497497

498498
public override bool SupportsSqlBatches
499499
{
500-
get { return true; }
500+
get
501+
{
502+
#if NETSTANDARD2_0
503+
return false;
504+
#else
505+
return true;
506+
#endif
507+
}
501508
}
502509

503510
#region Overridden informational metadata

0 commit comments

Comments
 (0)