Skip to content

Commit d84d01c

Browse files
committed
Obsolete methods call the new one in Dialect
1 parent cc088ab commit d84d01c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/NHibernate/Dialect/Dialect.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public abstract class Dialect
3939

4040
/// <summary> Characters used for closing quoted sql identifiers </summary>
4141
public const string PossibleClosedQuoteChars = "`'\"]";
42-
42+
4343
private readonly TypeNames _typeNames = new TypeNames();
4444
private readonly TypeNames _hibernateTypeNames = new TypeNames();
4545
private readonly IDictionary<string, string> _properties = new Dictionary<string, string>();
@@ -81,7 +81,7 @@ protected Dialect()
8181
Log.Info("Using dialect: " + this);
8282

8383
_sqlFunctions = CollectionHelper.CreateCaseInsensitiveHashtable(StandardAggregateFunctions);
84-
84+
8585
// standard sql92 functions (can be overridden by subclasses)
8686
RegisterFunction("substring", new AnsiSubstringFunction());
8787
RegisterFunction("locate", new StandardSQLFunction("locate", NHibernateUtil.Int32));
@@ -721,7 +721,7 @@ public virtual string GetDropForeignKeyConstraintString(string constraintName)
721721
[Obsolete("Can cause issues when a custom schema is defined(https://nhibernate.jira.com/browse/NH-1285). The new overload with the defaultSchema parameter should be used instead")]
722722
public virtual string GetIfNotExistsCreateConstraint(Table table, string name)
723723
{
724-
return "";
724+
return GetIfNotExistsCreateConstraint(table, name, null);
725725
}
726726

727727
/// <summary>
@@ -734,7 +734,7 @@ public virtual string GetIfNotExistsCreateConstraint(Table table, string name)
734734
[Obsolete("Can cause issues when a custom schema is defined(https://nhibernate.jira.com/browse/NH-1285). The new overload with the defaultSchema parameter should be used instead")]
735735
public virtual string GetIfNotExistsCreateConstraintEnd(Table table, string name)
736736
{
737-
return "";
737+
return GetIfNotExistsCreateConstraintEnd(table, name, null);
738738
}
739739

740740
/// <summary>
@@ -746,7 +746,7 @@ public virtual string GetIfNotExistsCreateConstraintEnd(Table table, string name
746746
[Obsolete("Can cause issues when a custom schema is defined(https://nhibernate.jira.com/browse/NH-1285). The new overload with the defaultSchema parameter should be used instead")]
747747
public virtual string GetIfExistsDropConstraint(Table table, string name)
748748
{
749-
return "";
749+
return GetIfExistsDropConstraint(table, name, null);
750750
}
751751

752752
/// <summary>
@@ -759,7 +759,7 @@ public virtual string GetIfExistsDropConstraint(Table table, string name)
759759
[Obsolete("Can cause issues when a custom schema is defined(https://nhibernate.jira.com/browse/NH-1285). The new overload with the defaultSchema parameter should be used instead")]
760760
public virtual string GetIfExistsDropConstraintEnd(Table table, string name)
761761
{
762-
return "";
762+
return GetIfExistsDropConstraintEnd(table, name, null);
763763
}
764764

765765
/// <summary>

0 commit comments

Comments
 (0)