Persist the given transient instance, using the given identifier.

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

Syntax

C#
void Save(
	Object obj,
	Object id
)
Visual Basic
Sub Save ( _
	obj As Object, _
	id As Object _
)
Visual C++
void Save(
	Object^ obj, 
	Object^ id
)

Parameters

obj
Type: System..::..Object
A transient instance of a persistent class
id
Type: System..::..Object
An unused valid identifier

See Also