using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace YLShipBuildLandMap.Services.Common { public interface IBaseService where TEntity : class { TEntity Get(object keyValues); int Delete(Expression> predicate); int Update(object keyValue, Func updateFunc); int UpdateFromQuery(Expression> predicate, Expression> updateFunc); } }