You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/NHibernate/Dialect/Dialect.cs
+55Lines changed: 55 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -711,11 +711,63 @@ public virtual string GetDropForeignKeyConstraintString(string constraintName)
711
711
return" drop constraint "+constraintName;
712
712
}
713
713
714
+
715
+
/// <summary>
716
+
/// The syntax that is used to check if a constraint does not exists before creating it
717
+
/// </summary>
718
+
/// <param name="table">The table.</param>
719
+
/// <param name="name">The name.</param>
720
+
/// <returns></returns>
721
+
[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")]
/// The syntax that is used to close the if for a constraint exists check, used
729
+
/// for dialects that requires begin/end for ifs
730
+
/// </summary>
731
+
/// <param name="table">The table.</param>
732
+
/// <param name="name">The name.</param>
733
+
/// <returns></returns>
734
+
[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")]
/// The syntax that is used to check if a constraint exists before dropping it
742
+
/// </summary>
743
+
/// <param name="table">The table.</param>
744
+
/// <param name="name">The name.</param>
745
+
/// <returns></returns>
746
+
[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")]
/// The syntax that is used to close the if for a constraint exists check, used
754
+
/// for dialects that requires begin/end for ifs
755
+
/// </summary>
756
+
/// <param name="table">The table.</param>
757
+
/// <param name="name">The name.</param>
758
+
/// <returns></returns>
759
+
[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")]
0 commit comments