Class InMemoryDataContextConfiguration
An in memory data context configuration.
Inheritance
System.Object
System.Dynamic.DynamicObject
InMemoryDataContextConfiguration
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.InMemory
Assembly: Kephas.Data.dll
Syntax
public class InMemoryDataContextConfiguration : DataContextConfiguration, IDataContextConfiguration, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Constructors
| Improve this Doc View SourceInMemoryDataContextConfiguration(ICompositionContext, String)
Initializes a new instance of the InMemoryDataContextConfiguration class.
Declaration
public InMemoryDataContextConfiguration(ICompositionContext compositionContext, string connectionString)
Parameters
Type | Name | Description |
---|---|---|
ICompositionContext | compositionContext | Context for the composition. |
System.String | connectionString | The connection string. |
Properties
| Improve this Doc View SourceInitialData
Gets or sets the initial data.
Declaration
public IEnumerable<IEntityEntry> InitialData { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IEntityEntry> | The initial data. |
UseSharedCache
Gets or sets a value indicating whether to use the shared cache or not.
Declaration
public bool? UseSharedCache { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | True if shared cache is used, false if not. |
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable