Execute the schema updates

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

Syntax

C#
public void Execute(
	Action<string> scriptAction,
	bool doUpdate
)
Visual Basic
Public Sub Execute ( _
	scriptAction As Action(Of String), _
	doUpdate As Boolean _
)
Visual C++
public:
void Execute(
	Action<String^>^ scriptAction, 
	bool doUpdate
)

Parameters

scriptAction
Type: System..::..Action<(Of <(<'String>)>)>
The action to write the each schema line.
doUpdate
Type: System..::..Boolean
Commit the script to DB

See Also