GenerationPolicy
in package
GenerationPolicy
GenerationPolicy
determines how to handle record writes based on record generation.
Table of Contents
Methods
- ExpectGenEqual() : GenerationPolicy
- ExpectGenEqual means: Update/delete record if expected generation is equal to server generation. Otherwise, fail.
- ExpectGenGreater() : GenerationPolicy
- ExpectGenGreater means: Update/delete record if expected generation greater than the server generation. Otherwise, fail. This is useful for restore after backup.
- None() : GenerationPolicy
- None means: Do not use record generation to restrict writes.
Methods
ExpectGenEqual()
ExpectGenEqual means: Update/delete record if expected generation is equal to server generation. Otherwise, fail.
public
static ExpectGenEqual() : GenerationPolicy
Return values
GenerationPolicyExpectGenGreater()
ExpectGenGreater means: Update/delete record if expected generation greater than the server generation. Otherwise, fail. This is useful for restore after backup.
public
static ExpectGenGreater() : GenerationPolicy
Return values
GenerationPolicyNone()
None means: Do not use record generation to restrict writes.
public
static None() : GenerationPolicy