Class LLBLGenPersistChangesCommand
A persist changes command for LLBLGen.
Inheritance
System.Object
    
    
    
    LLBLGenPersistChangesCommand
  Implements
Inherited Members
      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.LLBLGen.Commands
Assembly: Kephas.Data.LLBLGen.dll
Syntax
[DataContextType(typeof(LLBLGenDataContext))]
public class LLBLGenPersistChangesCommand : PersistChangesCommand, ILoggable, IPersistChangesCommand, IDataCommand<IPersistChangesContext, IDataCommandResult>, IDataCommand, IAsyncOperationConstructors
| Improve this Doc View SourceLLBLGenPersistChangesCommand(IDataBehaviorProvider)
Initializes a new instance of the LLBLGenPersistChangesCommand class.
Declaration
public LLBLGenPersistChangesCommand(IDataBehaviorProvider behaviorProvider)Parameters
| Type | Name | Description | 
|---|---|---|
| IDataBehaviorProvider | behaviorProvider | The behavior provider. | 
Methods
| Improve this Doc View SourcePersistChangeSetAsync(IList<IEntityEntry>, IPersistChangesContext, CancellationToken)
Persists the modified entities asynchronously.
Declaration
protected override Task PersistChangeSetAsync(IList<IEntityEntry> changeSet, IPersistChangesContext operationContext, CancellationToken cancellationToken)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Collections.Generic.IList<IEntityEntry> | changeSet | The modified entities. | 
| IPersistChangesContext | operationContext | The data operation context. | 
| System.Threading.CancellationToken | cancellationToken | The cancellation token. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | A Task. |