#region 程序集 ServiceStack.Interfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=02c12cbda47e6587
// C:\Users\Administrator\source\repos\Solution4\packages\ServiceStack.Interfaces.5.8.0\lib\net45\ServiceStack.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);
}
}