Table of Contents

Interface IKeyCachedRepo<TEntity, K>

Namespace
Tlabs.Data
Assembly
Tlabs.Data.dll

Interface of a IRepo<TEntity> for entities that are assumed to have a small number of (cached) persistent instances.

public interface IKeyCachedRepo<TEntity, K> : INonQueryRepo<TEntity>, IKeyLookup<TEntity, K> where TEntity : class, new()

Type Parameters

TEntity
K
Inherited Members
Extension Methods

Properties

AllUntracked

A queryable enumeration of ALL (cached) entities of TEntity in the store.

IQueryable<TEntity> AllUntracked { get; }

Property Value

IQueryable<TEntity>

Remarks

Changes to returned entities are NOT beeing tracked.

Methods

InsertOrUpdate(TEntity)

(Mark) ent as updated or inserted.

TEntity InsertOrUpdate(TEntity ent)

Parameters

ent TEntity

Returns

TEntity