Update a persistent instance
Namespace:
NHibernate.Persister.EntityAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Update ( _ id As Object, _ fields As Object(), _ dirtyFields As Integer(), _ hasDirtyCollection As Boolean, _ oldFields As Object(), _ oldVersion As Object, _ obj As Object, _ session As ISessionImplementor _ ) |
C# |
---|
void Update( Object id, Object[] fields, int[] dirtyFields, bool hasDirtyCollection, Object[] oldFields, Object oldVersion, Object obj, ISessionImplementor session ) |
Visual C++ |
---|
void Update( Object^ id, array<Object^>^ fields, array<int>^ dirtyFields, bool hasDirtyCollection, array<Object^>^ oldFields, Object^ oldVersion, Object^ obj, ISessionImplementor^ session ) |
JavaScript |
---|
function update(id, fields, dirtyFields, hasDirtyCollection, oldFields, oldVersion, obj, session); |
Parameters
- id
- Type: System..::.Object
The id.
- fields
- Type: array<
System..::.Object
>[]()[]
The fields.
- dirtyFields
- Type: array<
System..::.Int32
>[]()[]
The dirty fields.
- hasDirtyCollection
- Type: System..::.Boolean
if set to trueTruetruetrue (True in Visual Basic) [has dirty collection].
- oldFields
- Type: array<
System..::.Object
>[]()[]
The old fields.
- oldVersion
- Type: System..::.Object
The old version.
- obj
- Type: System..::.Object
The obj.
- session
- Type: NHibernate.Engine..::.ISessionImplementor
The session.