Namespaces

Types

Type UniqueKey

Namespace NHibernate.Mapping

Parent Constraint

Methods

Properties

Public instance methods

void AddColumn(Column column)

Parameters
Column column

bool Equals(object obj)

Parameters
return bool
object obj

int GetHashCode()

Parameters
return int

Type GetType()

Parameters
return Type

string SqlConstraintString(Dialect d)

Generates the SQL string to create the Unique Key Constraint in the database.
Parameters
return string A string that contains the SQL to create the Unique Key Constraint.
Dialect d The Dialect to use for SQL rules.

string SqlConstraintString(Dialect d, string constraintName, string defaultSchema)

Generates the SQL string to create the Unique Key Constraint in the database.
Parameters
return string A string that contains the SQL to create the Unique Key Constraint.
Dialect d The Dialect to use for SQL rules.
string constraintName
string defaultSchema

string SqlCreateString(Dialect dialect, IMapping p, string defaultSchema)

Parameters
return string
Dialect dialect
IMapping p
string defaultSchema

string SqlDropString(Dialect dialect, string defaultSchema)

Get the SQL string to drop this Constraint in the database.
Parameters
return string A string that contains the SQL to drop this Constraint.
Dialect dialect The Dialect to use for SQL rules.
string defaultSchema

string ToString()

Parameters
return string

Public properties

ICollection ColumnCollection get;

return ICollection

int ColumnSpan get;

return int

string Name get; set;

return string

Table Table get; set;

return Table