Class CoreSessionOptions
Core session options.
public class CoreSessionOptions
- Inheritance
-
CoreSessionOptions
- Inherited Members
Constructors
CoreSessionOptions(bool, bool, TransactionOptions, bool)
Initializes a new instance of the CoreSessionOptions class.
public CoreSessionOptions(bool isCausallyConsistent = false, bool isImplicit = false, TransactionOptions defaultTransactionOptions = null, bool isSnapshot = false)
Parameters
isCausallyConsistent
boolif set to
true
this session is causally consistent]isImplicit
boolif set to
true
this session is an implicit session.defaultTransactionOptions
TransactionOptionsThe default transaction options.
isSnapshot
boolif set to
true
this session is a snapshot session.
Properties
DefaultTransactionOptions
Gets the default transaction options.
public TransactionOptions DefaultTransactionOptions { get; }
Property Value
- TransactionOptions
The default transaction options.
IsCausallyConsistent
Gets a value indicating whether this session is causally consistent.
public bool IsCausallyConsistent { get; }
Property Value
- bool
true
if this session is causally consistent; otherwise,false
.
IsImplicit
Gets a value indicating whether this session is an implicit session.
public bool IsImplicit { get; }
Property Value
- bool
true
if this session is an implicit session; otherwise,false
.
IsSnapshot
Gets a value indicating whether this session is a snapshot session.
public bool IsSnapshot { get; }
Property Value
- bool
true
if this session is a snapshot session; otherwise,false
.