Generates the SQL string to create the named Foreign Key Constraint in the database.
Namespace:
NHibernate.MappingAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides Function SqlConstraintString ( _ d As Dialect, _ constraintName As String, _ defaultSchema As String _ ) As String |
C# |
---|
public override string SqlConstraintString( Dialect d, string constraintName, string defaultSchema ) |
Visual C++ |
---|
public: virtual String^ SqlConstraintString( Dialect^ d, String^ constraintName, String^ defaultSchema ) override |
JavaScript |
---|
function sqlConstraintString(d, constraintName, defaultSchema); |
Parameters
- d
- Type: NHibernate.Dialect..::.Dialect
The Dialect to use for SQL rules.
- constraintName
- Type: System..::.String
The name to use as the identifier of the constraint in the database.
- defaultSchema
- Type: System..::.String