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); ICollection Get(int id); ICollection Get(Expression> query); } }