#region 程序集 ServiceStack.Interfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587
// C:UsersAdministratorsource
eposSolution4packagesServiceStack.Interfaces.5.8.0lib
et45ServiceStack.Interfaces.dll
#endregion
using System;
using System.Collections;
using System.Collections.Generic;
namespace ServiceStack.Data
{
public interface IEntityStore : IDisposable
{
void Delete<T>(T entity);
void DeleteAll<TEntity>();
void DeleteById<T>(object id);
void DeleteByIds<T>(ICollection ids);
T GetById<T>(object id);
IList<T> GetByIds<T>(ICollection ids);
T Store<T>(T entity);
void StoreAll<TEntity>(IEnumerable<TEntity> entities);
}
}