TechTalk Genome v4.2

OptimisticLockingSemantics.VersionFromByteArray Method 

Converts the byte array representation of an IOptimisticLockVersion to the original version.

public static IOptimisticLockVersion VersionFromByteArray(
   object o,
   byte[] bytes
);

Parameters

o
The object that will be locked using the retured IOptimisticLockVersion as reference version.
bytes
The byte array representation of a version.

Remarks

This method can be used to convert a byte array created with VersionToByteArray back to the original IOptimisticLockVersion.

Requirements

Namespace: TechTalk.Genome.Locking

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.4.4

Editions: Professional, Evaluation, Express

See Also

OptimisticLockingSemantics Class | TechTalk.Genome.Locking Namespace