The syntax used to drop a foreign key constraint from a table.

Namespace: NHibernate.Dialect
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public virtual string GetDropForeignKeyConstraintString(
	string constraintName
)
Visual Basic
Public Overridable Function GetDropForeignKeyConstraintString ( _
	constraintName As String _
) As String
Visual C++
public:
virtual String^ GetDropForeignKeyConstraintString(
	String^ constraintName
)

Parameters

constraintName
Type: System..::..String
The name of the foreign key constraint to drop.

Return Value

The SQL string to drop the foreign key constraint.

See Also