Class AppliedInfo<T>
When using Lightweight transactions, it provides information whether the change was applied or not.
Inherited Members
Namespace: Cassandra.Mapping
Assembly: Cassandra.dll
Syntax
public class AppliedInfo<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
AppliedInfo(bool)
Creates a new instance marking the change as applied
Declaration
public AppliedInfo(bool applied)
Parameters
Type | Name | Description |
---|---|---|
bool | applied |
AppliedInfo(T)
Creates a new instance marking the change as not applied and provides information about the existing data.
Declaration
public AppliedInfo(T existing)
Parameters
Type | Name | Description |
---|---|---|
T | existing |
Properties
Applied
Determines if the change was applied.
Declaration
public bool Applied { get; set; }
Property Value
Type | Description |
---|---|
bool |
Existing
Gets or sets the existing data that prevented
Declaration
public T Existing { get; set; }
Property Value
Type | Description |
---|---|
T |