IEntityStore
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IEntityStore : IDisposable
Methods
GetById<T>(Object)
View Source
Declaration
T GetById<T>(object id)
Returns
<T>
Parameters
Type | Name |
---|---|
System.Object | id |
Type Parameters
T
GetByIds<T>(ICollection)
View Source
Declaration
IList<T> GetByIds<T>(ICollection ids)
Returns
System.Collections.Generic.IList<<T>>
Parameters
Type | Name |
---|---|
System.Collections.ICollection | ids |
Type Parameters
T
Store<T>(T)
View Source
Declaration
T Store<T>(T entity)
Returns
<T>
Parameters
Type | Name |
---|---|
<T> | entity |
Type Parameters
T
StoreAll<TEntity>(IEnumerable<TEntity>)
View Source
Declaration
void StoreAll<TEntity>(IEnumerable<TEntity> entities)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<<TEntity>> | entities |
Type Parameters
TEntity
Delete<T>(T)
View Source
Declaration
void Delete<T>(T entity)
Parameters
Type | Name |
---|---|
<T> | entity |
Type Parameters
T
DeleteById<T>(Object)
View Source
Declaration
void DeleteById<T>(object id)
Parameters
Type | Name |
---|---|
System.Object | id |
Type Parameters
T
DeleteByIds<T>(ICollection)
View Source
Declaration
void DeleteByIds<T>(ICollection ids)
Parameters
Type | Name |
---|---|
System.Collections.ICollection | ids |
Type Parameters
T
DeleteAll<TEntity>()
View Source
Declaration
void DeleteAll<TEntity>()
Type Parameters
TEntity