Show / Hide Table of Contents

Interface IDataContextCache

Interface for data context cache.

Inherited Members
System.Collections.Generic.IDictionary<System.Object, Kephas.Data.Capabilities.IEntityEntry>.Add(System.Object, Kephas.Data.Capabilities.IEntityEntry)
System.Collections.Generic.IDictionary<System.Object, Kephas.Data.Capabilities.IEntityEntry>.ContainsKey(System.Object)
System.Collections.Generic.IDictionary<System.Object, Kephas.Data.Capabilities.IEntityEntry>.Remove(System.Object)
System.Collections.Generic.IDictionary<System.Object, Kephas.Data.Capabilities.IEntityEntry>.TryGetValue(System.Object, Kephas.Data.Capabilities.IEntityEntry)
System.Collections.Generic.IDictionary<System.Object, Kephas.Data.Capabilities.IEntityEntry>.Item[System.Object]
System.Collections.Generic.IDictionary<System.Object, Kephas.Data.Capabilities.IEntityEntry>.Keys
System.Collections.Generic.IDictionary<System.Object, Kephas.Data.Capabilities.IEntityEntry>.Values
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>>.Add(System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>>.Clear()
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>>.Contains(System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>>.CopyTo(System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>[], System.Int32)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>>.Remove(System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>)
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>>.Count
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>>.IsReadOnly
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Object, Kephas.Data.Capabilities.IEntityEntry>>.GetEnumerator()
System.Collections.IEnumerable.GetEnumerator()
Namespace: Kephas.Data.Caching
Assembly: Kephas.Data.dll
Syntax
public interface IDataContextCache : IDictionary<object, IEntityEntry>, ICollection<KeyValuePair<object, IEntityEntry>>, IEnumerable<KeyValuePair<object, IEntityEntry>>, IEnumerable

Methods

| Improve this Doc View Source

Add(IEntityEntry)

Adds an IEntityEntry to the IDataContextCache.

Declaration
void Add(IEntityEntry value)
Parameters
Type Name Description
IEntityEntry value

The object to add.

| Improve this Doc View Source

GetEntityEntry(Object)

Gets the entity entry associated to the provided entity, or null if none could be found.

Declaration
IEntityEntry GetEntityEntry(object entity)
Parameters
Type Name Description
System.Object entity

The entity.

Returns
Type Description
IEntityEntry

The entity entry or null.

| Improve this Doc View Source

Remove(IEntityEntry)

Removes an IEntityEntry from the IDataContextCache.

Declaration
bool Remove(IEntityEntry value)
Parameters
Type Name Description
IEntityEntry value

The object to remove.

Returns
Type Description
System.Boolean

true if the removal succeeds, false otherwise.

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>)
DictionaryExtensions.TryGetValue<TKey, TValue>(IDictionary<TKey, TValue>, TKey, TValue)
EnumerableExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
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