Class BulkDataOperationContext
Context for bulk operations.
Inheritance
System.Object
System.Dynamic.DynamicObject
BulkDataOperationContext
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 BulkDataOperationContext : DataOperationContext, IBulkDataOperationContext, IDataOperationContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Constructors
| Improve this Doc View SourceBulkDataOperationContext(IDataContext, Type, Expression, Boolean)
Initializes a new instance of the BulkDataOperationContext class.
Declaration
public BulkDataOperationContext(IDataContext dataContext, Type entityType, Expression criteria, bool throwIfNotFound = false)
Parameters
Type | Name | Description |
---|---|---|
IDataContext | dataContext | The data context. |
System.Type | entityType | Type of the entity. |
System.Linq.Expressions.Expression | criteria | The criteria for finding the entities to operate on. |
System.Boolean | throwIfNotFound | Optional. |
Properties
| Improve this Doc View SourceCriteria
Gets or sets the criteria for finding the entities to operate on.
Declaration
public Expression Criteria { get; set; }
Property Value
Type | Description |
---|---|
System.Linq.Expressions.Expression | The criteria for finding the entities to operate on. |
EntityType
Gets or sets the type of the entity.
Declaration
public Type EntityType { get; set; }
Property Value
Type | Description |
---|---|
System.Type | The type of the entity. |
ThrowOnNotFound
Gets or sets a value indicating whether to throw an exception if there were no entities to operate on.
Declaration
public bool ThrowOnNotFound { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable