Class DataStore
A data store.
Inheritance
System.Object
DataStore
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
public class DataStore : IDataStore
Constructors
| Improve this Doc View SourceDataStore(String, String, Type, IDataContextConfiguration, IActivator)
Initializes a new instance of the DataStore class.
Declaration
public DataStore(string name, string kind, Type dataContextType = null, IDataContextConfiguration dataContextConfiguration = null, IActivator entityActivator = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The data store name. |
System.String | kind | The data store kind. |
System.Type | dataContextType | The type of the data context (optional). |
IDataContextConfiguration | dataContextConfiguration | The data context configuration (optional). |
IActivator | entityActivator | The entity activator (optional). |
Properties
| Improve this Doc View SourceDataContextConfiguration
Gets the data context configuration.
Declaration
public IDataContextConfiguration DataContextConfiguration { get; }
Property Value
Type | Description |
---|---|
IDataContextConfiguration | The data context configuration. |
DataContextType
Gets the type of the data context.
Declaration
public Type DataContextType { get; }
Property Value
Type | Description |
---|---|
System.Type | The type of the data context. |
EntityActivator
Gets the entity activator.
Declaration
public IActivator EntityActivator { get; }
Property Value
Type | Description |
---|---|
IActivator | The entity activator. |
Kind
Gets the data store kind.
Declaration
public string Kind { get; }
Property Value
Type | Description |
---|---|
System.String | The data store kind. |
Name
Gets the data store name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The data store name. |