Executes the Export of the Schema.

Namespace: NHibernate.Tool.hbm2ddl
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public void Execute(
	bool script,
	bool export,
	bool justDrop
)
Visual Basic
Public Sub Execute ( _
	script As Boolean, _
	export As Boolean, _
	justDrop As Boolean _
)
Visual C++
public:
void Execute(
	bool script, 
	bool export, 
	bool justDrop
)

Parameters

script
Type: System..::..Boolean
trueTruetruetrue (True in Visual Basic) if the ddl should be outputted in the Console.
export
Type: System..::..Boolean
trueTruetruetrue (True in Visual Basic) if the ddl should be executed against the Database.
justDrop
Type: System..::..Boolean
trueTruetruetrue (True in Visual Basic) if only the ddl to drop the Database objects should be executed.

Remarks

This method allows for both the drop and create ddl script to be executed.

See Also