Namespaces

Types

Type ForeignKey

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, string constraintName, string defaultSchema)

Generates the SQL string to create the named Foreign Key Constraint in the database.
Parameters
return string A string that contains the SQL to create the named Foreign Key Constraint.
Dialect d The Dialect to use for SQL rules.
string constraintName The name to use as the identifier of the constraint in the database.
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

Type ReferencedClass get; set;

Gets or sets the Type that this Foreign Key is referencing.
return Type

Table ReferencedTable get; set;

Gets or sets the Table that the Foreign Key is referencing.
return Table

Table Table get; set;

return Table