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 SourceAdd(IEntityEntry)
Adds an IEntityEntry to the IDataContextCache.
Declaration
void Add(IEntityEntry value)
Parameters
Type | Name | Description |
---|---|---|
IEntityEntry | value | The object to add. |
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 |
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 |
|