Update a persistent instance

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

Syntax

C#
void Update(
	Object id,
	Object[] fields,
	int[] dirtyFields,
	bool hasDirtyCollection,
	Object[] oldFields,
	Object oldVersion,
	Object obj,
	Object rowId,
	ISessionImplementor session
)
Visual Basic
Sub Update ( _
	id As Object, _
	fields As Object(), _
	dirtyFields As Integer(), _
	hasDirtyCollection As Boolean, _
	oldFields As Object(), _
	oldVersion As Object, _
	obj As Object, _
	rowId As Object, _
	session As ISessionImplementor _
)
Visual C++
void Update(
	Object^ id, 
	array<Object^>^ fields, 
	array<int>^ dirtyFields, 
	bool hasDirtyCollection, 
	array<Object^>^ oldFields, 
	Object^ oldVersion, 
	Object^ obj, 
	Object^ rowId, 
	ISessionImplementor^ 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.
rowId
Type: System..::..Object
The rowId
session
Type: NHibernate.Engine..::..ISessionImplementor
The session.

See Also