Generates the SQL string to create the Unique Key Constraint in the database.
Namespace: NHibernate.MappingAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public override string SqlConstraintString( Dialect dialect, string constraintName, string defaultCatalog, string defaultSchema ) |
Visual Basic |
---|
Public Overrides Function SqlConstraintString ( _ dialect As Dialect, _ constraintName As String, _ defaultCatalog As String, _ defaultSchema As String _ ) As String |
Visual C++ |
---|
public: virtual String^ SqlConstraintString( Dialect^ dialect, String^ constraintName, String^ defaultCatalog, String^ defaultSchema ) override |
Parameters
- dialect
- Type: NHibernate.Dialect..::..Dialect
The Dialect to use for SQL rules.
- constraintName
- Type: System..::..String
[Missing <param name="constraintName"/> documentation for "M:NHibernate.Mapping.UniqueKey.SqlConstraintString(NHibernate.Dialect.Dialect,System.String,System.String,System.String)"]
- defaultCatalog
- Type: System..::..String
[Missing <param name="defaultCatalog"/> documentation for "M:NHibernate.Mapping.UniqueKey.SqlConstraintString(NHibernate.Dialect.Dialect,System.String,System.String,System.String)"]
- defaultSchema
- Type: System..::..String
[Missing <param name="defaultSchema"/> documentation for "M:NHibernate.Mapping.UniqueKey.SqlConstraintString(NHibernate.Dialect.Dialect,System.String,System.String,System.String)"]