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

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

Syntax

C#
public string SqlDropString(
	Dialect dialect,
	string defaultCatalog,
	string defaultSchema
)
Visual Basic
Public Function SqlDropString ( _
	dialect As Dialect, _
	defaultCatalog As String, _
	defaultSchema As String _
) As String
Visual C++
public:
virtual String^ SqlDropString(
	Dialect^ dialect, 
	String^ defaultCatalog, 
	String^ defaultSchema
) sealed

Parameters

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

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

defaultSchema
Type: System..::..String

[Missing <param name="defaultSchema"/> documentation for "M:NHibernate.Mapping.Table.SqlDropString(NHibernate.Dialect.Dialect,System.String,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, String)

See Also