Persist the given transient instance, using the given identifier.
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Save ( _ obj As Object, _ id As Object _ ) |
C# |
---|
void Save( Object obj, Object id ) |
Visual C++ |
---|
void Save( Object^ obj, Object^ id ) |
JavaScript |
---|
function save(obj, id); |
Parameters
- obj
- Type: System..::.Object
A transient instance of a persistent class
- id
- Type: System..::.Object
An unused valid identifier