Class DeleteEntityCommand
Base implementation of a IDeleteEntityCommand.
Inheritance
System.Object
DeleteEntityCommand
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.Commands
Assembly: Kephas.Data.dll
Syntax
[DataContextType(typeof(DataContextBase))]
public class DeleteEntityCommand : SyncDataCommandBase<IDeleteEntityContext, IDataCommandResult>, ILoggable, ISyncDataCommand<IDeleteEntityContext, IDataCommandResult>, IDeleteEntityCommand, IDataCommand<IDeleteEntityContext, IDataCommandResult>, IDataCommand, IAsyncOperation, ISyncDataCommand
Methods
| Improve this Doc View SourceExecute(IDeleteEntityContext)
Discards the changes in the data context.
Declaration
public override IDataCommandResult Execute(IDeleteEntityContext operationContext)
Parameters
Type | Name | Description |
---|---|---|
IDeleteEntityContext | operationContext | The operation context. |
Returns
Type | Description |
---|---|
IDataCommandResult |
Overrides
Kephas.Data.Commands.SyncDataCommandBase<Kephas.Data.Commands.IDeleteEntityContext, Kephas.Data.Commands.IDataCommandResult>.Execute(Kephas.Data.Commands.IDeleteEntityContext)