using System; using System.Collections.Generic; using System.Linq.Expressions; namespace COA.EnterpriseServices.DataAccess { public interface IDataAccess where T : class, IRecord { bool Add(T item); bool Update(T item); bool Update(int id, Action update); ICollection Get(Expression> query); } }