Show / Hide Table of Contents

Interface IDataStoreProvider

Provides the GetDataStore(String, IContext) method for getting a data store by name.

Namespace: Kephas.Data.Store
Assembly: Kephas.Data.dll
Syntax
[SingletonAppServiceContract]
public interface IDataStoreProvider

Methods

| Improve this Doc View Source

GetDataStore(String, IContext)

Gets data store with the provided name.

Declaration
IDataStore GetDataStore(string dataStoreName, IContext context = null)
Parameters
Type Name Description
System.String dataStoreName

Name of the data store.

IContext context

Optional. The context.

Returns
Type Description
IDataStore

The data store.

| Improve this Doc View Source

GetDataStoreName(Type, IContext)

Gets the data store name for the provided entity type.

Declaration
string GetDataStoreName(Type entityType, IContext context = null)
Parameters
Type Name Description
System.Type entityType

Type of the entity.

IContext context

Optional. The context.

Returns
Type Description
System.String

The data store name.

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX