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