Table of Contents

Interface IKeyCachedRepo<TEntity, TModel, K>

Namespace
Tlabs.Data
Assembly
Tlabs.Data.dll

Interface of a IKeyCachedRepo<TEntity, K> that is caching TModel instances.

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

Type Parameters

TEntity
TModel
K
Inherited Members
Extension Methods

Properties

AllUntracked

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

IQueryable<TModel> AllUntracked { get; }

Property Value

IQueryable<TModel>

Methods

InsertOrUpdate(TEntity)

(Mark) ent as updated or inserted.

TEntity InsertOrUpdate(TEntity ent)

Parameters

ent TEntity

Returns

TEntity