Save a transient object. An id is generated, assigned to the object and returned
Namespace: NHibernate.ImplAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public Object Save( Object obj ) |
Visual Basic |
---|
Public Function Save ( _ obj As Object _ ) As Object |
Visual C++ |
---|
public: virtual Object^ Save( Object^ obj ) sealed |
Parameters
- obj
- Type: System..::..Object
[Missing <param name="obj"/> documentation for "M:NHibernate.Impl.SessionImpl.Save(System.Object)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Impl.SessionImpl.Save(System.Object)"]