Seed the given instance state snapshot with an initial version number
Namespace: NHibernate.EngineAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static bool SeedVersion( Object[] fields, int versionProperty, IVersionType versionType, Nullable<bool> force, ISessionImplementor session ) |
Visual Basic |
---|
Public Shared Function SeedVersion ( _ fields As Object(), _ versionProperty As Integer, _ versionType As IVersionType, _ force As Nullable(Of Boolean), _ session As ISessionImplementor _ ) As Boolean |
Visual C++ |
---|
public: static bool SeedVersion( array<Object^>^ fields, int versionProperty, IVersionType^ versionType, Nullable<bool> force, ISessionImplementor^ session ) |
Parameters
- fields
- Type: array<System..::..Object>[]()[][]
An array of objects that contains a snapshot of a persistent object.
- versionProperty
- Type: System..::..Int32
The index of the version property in the fields parameter.
- versionType
- Type: NHibernate.Type..::..IVersionType
The IVersionType of the versioned property.
- force
- Type: System..::..Nullable<(Of <(<'Boolean>)>)>
Force the version to initialize
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The current session, if any.