When implemented by a class, generates the SQL string to drop the mapping element from the database.

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

Syntax

Visual Basic (Declaration)
Function SqlDropString ( _
	dialect As Dialect, _
	defaultSchema As String _
) As String
C#
string SqlDropString(
	Dialect dialect,
	string defaultSchema
)
Visual C++
String^ SqlDropString(
	Dialect^ dialect, 
	String^ defaultSchema
)
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 an object.

See Also