Skip to content

Commit cc088ab

Browse files
committed
Old methods restored in MsSql2000 Dialect. Updated to call the new ones.
1 parent ab5c9ff commit cc088ab

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/NHibernate/Dialect/MsSql2000Dialect.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,21 @@ public override long TimestampResolutionInTicks
442442
}
443443
}
444444

445+
public override string GetIfExistsDropConstraint(Table table, string name)
446+
{
447+
return GetIfExistsDropConstraint(table, name, null);
448+
}
449+
450+
protected virtual string GetSelectExistingObject(string name, Table table)
451+
{
452+
return GetSelectExistingObject(name, table, null);
453+
}
454+
455+
public override string GetIfNotExistsCreateConstraint(Table table, string name)
456+
{
457+
return GetIfNotExistsCreateConstraint(table, name, null);
458+
}
459+
445460
public override string GetIfExistsDropConstraint(Table table, string name, string defaultSchema)
446461
{
447462
string selectExistingObject = GetSelectExistingObject(name, table, defaultSchema);

0 commit comments

Comments
 (0)