Class DataSourceContext
A data source context.
Inheritance
System.Object
System.Dynamic.DynamicObject
DataSourceContext
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.DataSources
Assembly: Kephas.Data.dll
Syntax
public class DataSourceContext : DataOperationContext, IDataSourceContext, IDataOperationContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Constructors
| Improve this Doc View SourceDataSourceContext(IDataContext, ITypeInfo, ITypeInfo)
Initializes a new instance of the DataSourceContext class.
Declaration
public DataSourceContext(IDataContext dataContext, ITypeInfo entityType, ITypeInfo projectedEntityType)
Parameters
Type | Name | Description |
---|---|---|
IDataContext | dataContext | The data context. |
ITypeInfo | entityType | Type of the entity. |
ITypeInfo | projectedEntityType | Type of the projected entity. |
Properties
| Improve this Doc View SourceEntityType
Gets the type of the entity.
Declaration
public ITypeInfo EntityType { get; }
Property Value
Type | Description |
---|---|
ITypeInfo | The type of the entity. |
Options
Gets or sets options for controlling the operation.
Declaration
public object Options { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The options. |
ProjectedEntityType
Gets the type of the projected entity.
Declaration
public ITypeInfo ProjectedEntityType { get; }
Property Value
Type | Description |
---|---|
ITypeInfo | The type of the projected entity. |
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable