Determine if any of the given field values are modified, returning an array containing indices of the modified fields.
If it is determined that no fields are dirty, null is returned.
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static int[] FindModified( StandardProperty[] properties, Object[] currentState, Object[] previousState, bool[][] includeColumns, bool anyUninitializedProperties, ISessionImplementor session ) |
Visual Basic |
---|
Public Shared Function FindModified ( _ properties As StandardProperty(), _ currentState As Object(), _ previousState As Object(), _ includeColumns As Boolean()(), _ anyUninitializedProperties As Boolean, _ session As ISessionImplementor _ ) As Integer() |
Visual C++ |
---|
public: static array<int>^ FindModified( array<StandardProperty^>^ properties, array<Object^>^ currentState, array<Object^>^ previousState, array<array<bool>^>^ includeColumns, bool anyUninitializedProperties, ISessionImplementor^ session ) |
Parameters
- properties
- Type: array<NHibernate.Tuple..::..StandardProperty>[]()[][]
The property definitions
- currentState
- Type: array<System..::..Object>[]()[][]
The current state of the entity
- previousState
- Type: array<System..::..Object>[]()[][]
The baseline state of the entity
- includeColumns
- Type: array<array<System..::..Boolean>[]()[][]>[]()[][]
Columns to be included in the mod checking, per property
- anyUninitializedProperties
- Type: System..::..Boolean
Does the entity currently hold any uninitialized property values?
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The session from which the dirty check request originated.