COA.EnterpriseServices/COA.EnterpriseServices.DataAccess/IDataAccess.cs

16 lines
322 B
C#
Raw Normal View History

2020-10-14 00:56:53 +00:00
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace COA.EnterpriseServices.DataAccess
{
2020-10-14 01:24:27 +00:00
public interface IDataAccess<T> where T : class, IRecord
2020-10-14 00:56:53 +00:00
{
bool Add(T item);
bool Update(T item);
ICollection<T> Get(Expression<Func<T, bool>> query);
}
}