Make a transient instance persistent. This operation cascades to associated
instances if the association is mapped with cascade="persist".
The semantics of this method are defined by JSR-220.
Namespace: NHibernateThe semantics of this method are defined by JSR-220.
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
void Persist( Object obj ) |
Visual Basic |
---|
Sub Persist ( _ obj As Object _ ) |
Visual C++ |
---|
void Persist( Object^ obj ) |
Parameters
- obj
- Type: System..::..Object
a transient instance to be made persistent