Class PersistChangesContext
An operation context for persisting changes.
Inheritance
System.Object
System.Dynamic.DynamicObject
PersistChangesContext
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Data.Commands
Assembly: Kephas.Data.dll
Syntax
public class PersistChangesContext : DataOperationContext, IPersistChangesContext, IDataOperationContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Constructors
| Improve this Doc View SourcePersistChangesContext(IDataContext)
Initializes a new instance of the PersistChangesContext class.
Declaration
public PersistChangesContext(IDataContext dataContext)
Parameters
Type | Name | Description |
---|---|---|
IDataContext | dataContext | The data context. |
Properties
| Improve this Doc View SourceChangeSet
Gets or sets the change set to be persisted.
Declaration
public IEnumerable<object> ChangeSet { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Object> | The change set. |
Remarks
If the change set is null
, an automatic change set detection is performed.
Iteration
Gets or sets the iteration during persistence workflow.
Declaration
public int Iteration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The iteration. |
IterationChangeSet
Gets or sets the change set to be persisted within an iteration.
Declaration
public IEnumerable<IEntityEntry> IterationChangeSet { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEntityEntry> | The change set within an iteration. |
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable