Class AppliedInfo<T>
When using Lightweight transactions, it provides information whether the change was applied or not.
Inheritance
object
AppliedInfo<T>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cassandra.Mapping
Assembly: Cassandra.dll
Syntax
public class AppliedInfo<T>
Type Parameters
Name | Description |
---|---|
T |
Constructors
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 |
AppliedInfo(bool)
Creates a new instance marking the change as applied
Declaration
public AppliedInfo(bool applied)
Parameters
Type | Name | Description |
---|---|---|
bool | applied |
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 |