Generates the SQL string to create 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 SqlCreateString(
	Dialect dialect,
	IMapping p,
	string defaultCatalog,
	string defaultSchema
)
Visual Basic
Public Function SqlCreateString ( _
	dialect As Dialect, _
	p As IMapping, _
	defaultCatalog As String, _
	defaultSchema As String _
) As String
Visual C++
public:
virtual String^ SqlCreateString(
	Dialect^ dialect, 
	IMapping^ p, 
	String^ defaultCatalog, 
	String^ defaultSchema
) sealed

Parameters

dialect
Type: NHibernate.Dialect..::..Dialect
The NHibernate.Dialect to use for SQL rules.
p
Type: NHibernate.Engine..::..IMapping

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

defaultCatalog
Type: System..::..String

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

defaultSchema
Type: System..::..String

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

Return Value

A string that contains the SQL to create this Table, Primary Key Constraints , and Unique Key Constraints.

Implements

IRelationalModel..::..SqlCreateString(Dialect, IMapping, String, String)

See Also