Generates the SQL string to drop this Table in the database.

Namespace:  NHibernate.Mapping
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Function SqlDropString ( _
	dialect As Dialect, _
	defaultSchema As String _
) As String
C#
public string SqlDropString(
	Dialect dialect,
	string defaultSchema
)
Visual C++
public:
virtual String^ SqlDropString(
	Dialect^ dialect, 
	String^ defaultSchema
) sealed
JavaScript
function sqlDropString(dialect, defaultSchema);

Parameters

dialect
Type: NHibernate.Dialect..::.Dialect
The Dialect to use for SQL rules.
defaultSchema
Type: System..::.String

Return Value

A string that contains the SQL to drop this Table and to cascade the drop to the constraints if the database supports it.

Implements

IRelationalModel..::.SqlDropString(Dialect, String)

See Also