Interface ISaveContext
Assembly: LemonEdge.API.dll
Syntax
public interface ISaveContext
Properties
Context
Declaration
IEntityRetriever Context { get; }
Property Value
Methods
GetItems(EntityOperation)
Declaration
IEnumerable<IBaseEntity> GetItems(EntityOperation operation)
Parameters
Returns
GetItems(EntityOperation, Type)
Declaration
IEnumerable<IBaseEntity> GetItems(EntityOperation operation, Type type)
Parameters
Returns
GetItems<T>(EntityOperation)
Returns all entities stored against the context via the given EntityOperation and of the type T
Declaration
IEnumerable<T> GetItems<T>(EntityOperation operation) where T : IBaseEntity
Parameters
Returns
Type Parameters
GetModifiedItems(EntityOperation)
Declaration
IEnumerable<IBaseEntity> GetModifiedItems(EntityOperation operation)
Parameters
Returns
GetModifiedItems(EntityOperation, Type)
Returns all IBaseEntity, including subitems etc, stored against the context via the given EntityOperation and of the provided type
Declaration
IEnumerable<IBaseEntity> GetModifiedItems(EntityOperation operation, Type type)
Parameters
Returns
GetModifiedItems<T>(EntityOperation)
Returns all entities, including subitems etc, stored against the context via the given EntityOperation and of the type T
Declaration
IEnumerable<T> GetModifiedItems<T>(EntityOperation operation) where T : IBaseEntity
Parameters
Returns
Type Parameters
Extension Methods