Class FindContext<T>
The generic context for the IFindCommand.
Inheritance
System.Object
System.Dynamic.DynamicObject
FindContext<T>
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 FindContext<T> : FindContext, IFindContext<T>, IFindContext, IFindContextBase, IDataOperationContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Type Parameters
Name | Description |
---|---|
T | The entity type. |
Constructors
| Improve this Doc View SourceFindContext(IDataContext, Object, Boolean)
Initializes a new instance of the FindContext<T> class.
Declaration
public FindContext(IDataContext dataContext, object id, bool throwIfNotFound = true)
Parameters
Type | Name | Description |
---|---|---|
IDataContext | dataContext | The data context. |
System.Object | id | The identifier of the entity. |
System.Boolean | throwIfNotFound |
|
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable