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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
string SqlDropString(
	Dialect dialect,
	string defaultCatalog,
	string defaultSchema
)
Visual Basic
Function SqlDropString ( _
	dialect As Dialect, _
	defaultCatalog As String, _
	defaultSchema As String _
) As String
Visual C++
String^ SqlDropString(
	Dialect^ dialect, 
	String^ defaultCatalog, 
	String^ defaultSchema
)

Parameters

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

[Missing <param name="defaultCatalog"/> documentation for "M:NHibernate.Mapping.IRelationalModel.SqlDropString(NHibernate.Dialect.Dialect,System.String,System.String)"]

defaultSchema
Type: System..::..String

[Missing <param name="defaultSchema"/> documentation for "M:NHibernate.Mapping.IRelationalModel.SqlDropString(NHibernate.Dialect.Dialect,System.String,System.String)"]

Return Value

A string that contains the SQL to drop an object.

See Also