Set the version number of the given instance state snapshot
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static void SetVersion( Object[] fields, Object version, IEntityPersister persister ) |
Visual Basic |
---|
Public Shared Sub SetVersion ( _ fields As Object(), _ version As Object, _ persister As IEntityPersister _ ) |
Visual C++ |
---|
public: static void SetVersion( array<Object^>^ fields, Object^ version, IEntityPersister^ persister ) |
Parameters
- fields
- Type: array<System..::..Object>[]()[][]
An array of objects that contains a snapshot of a persistent object.
- version
- Type: System..::..Object
The value the version should be set to in the fields parameter.
- persister
- Type: NHibernate.Persister.Entity..::..IEntityPersister
The IEntityPersister that is responsible for persisting the values of the fields parameter.