Skip to content

Commit a307d95

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

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
@@ -495,7 +495,14 @@ public override bool SupportsUnionAll
495495

496496
public override bool SupportsSqlBatches
497497
{
498-
get { return true; }
498+
get
499+
{
500+
#if NETSTANDARD2_0
501+
return false;
502+
#else
503+
return true;
504+
#endif
505+
}
499506
}
500507

501508
#region Overridden informational metadata

0 commit comments

Comments
 (0)