Class NullDataStoreProvider
A null data store provider.
Inheritance
System.Object
NullDataStoreProvider
Implements
Inherited Members
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.Store
Assembly: Kephas.Data.dll
Syntax
[OverridePriority(Priority.Lowest)]
public class NullDataStoreProvider : IDataStoreProvider
Methods
| Improve this Doc View SourceGetDataStore(String, IContext)
Gets data store with the provided name.
Declaration
public 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. |
GetDataStoreName(Type, IContext)
Gets the data store name for the provided entity type.
Declaration
public 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. |