Interface IDataSpace
Interface for data context container.
Inherited Members
System.Dynamic.IDynamicMetaObjectProvider.GetMetaObject(System.Linq.Expressions.Expression)
System.Collections.Generic.IReadOnlyCollection<Kephas.Data.IDataContext>.Count
System.Collections.Generic.IEnumerable<Kephas.Data.IDataContext>.GetEnumerator()
System.IDisposable.Dispose()
Namespace: Kephas.Data
Assembly: Kephas.Data.dll
Syntax
[AppServiceContract]
public interface IDataSpace : IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IReadOnlyCollection<IDataContext>, IEnumerable<IDataContext>, IEnumerable, IDisposable, IInitializable
Properties
| Improve this Doc View SourceItem[ITypeInfo, IContext]
Gets the data context for the provided entity type.
Declaration
IDataContext this[ITypeInfo entityType, IContext context = null ] { get; }
Parameters
Type | Name | Description |
---|---|---|
ITypeInfo | entityType | Type of the entity. |
IContext | context | Optional. The context. |
Property Value
Type | Description |
---|---|
IDataContext | The data context. |
Item[Type, IContext]
Gets the data context for the provided entity type.
Declaration
IDataContext this[Type entityType, IContext context = null ] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Type | entityType | Type of the entity. |
IContext | context | Optional. The context. |
Property Value
Type | Description |
---|---|
IDataContext | The data context. |