public QueryResult <CDistributionManagerPO> GetCDistributionManagerWithTotalCountByPredicate(IPredicate predicate, int startIndex, int count, params ISort[] sorts) { return(EntityContextFactory.Execute <QueryResult <CDistributionManagerPO> >((entityContext) => { return this.GetCDistributionManagerWithTotalCountByPredicateWithContext(entityContext, predicate, startIndex, count, sorts); })); }
public Core.Data.QueryResult <CPropertyCategoryPO> GetPropertyCategoryWithTotalCountByPredicate(IPredicate predicate, int startIndex, int count, params ISort[] sorts) { return(EntityContextFactory.Execute <Core.Data.QueryResult <CPropertyCategoryPO> >((entityContext) => { return this.GetPropertyCategoryWithTotalCountByPredicateWithContext(entityContext, predicate, startIndex, count, sorts); })); }
public CDistributionManagerPO GetById(int id, bool throwExceptionWhenNotExists) { return(EntityContextFactory.Execute <CDistributionManagerPO>((entityContext) => { return this.GetByIdWithContext(entityContext, id, throwExceptionWhenNotExists); })); }
public QueryResult <CCashCouponDetailPO> GetCCashCouponDetailWithTotalCountByPredicate(IPredicate predicate, int startIndex, int count, params ISort[] sorts) { return(EntityContextFactory.Execute <QueryResult <CCashCouponDetailPO> >((entityContext) => { return this.GetCCashCouponDetailWithTotalCountByPredicateWithContext(entityContext, predicate, startIndex, count, sorts); })); }
public CCashCouponDetailPO GetById(int id, bool throwExceptionWhenNotExists) { return(EntityContextFactory.Execute <CCashCouponDetailPO>((entityContext) => { return this.GetByIdWithContext(entityContext, id, throwExceptionWhenNotExists); })); }
public CResCoordinatePO GetById(int id, bool throwExceptionWhenNotExists) { return(EntityContextFactory.Execute <CResCoordinatePO>((entityContext) => { return this.GetByIdWithContext(entityContext, id, throwExceptionWhenNotExists); })); }
public QueryResult <CCommodityPropertyPO> GetCommodityPropertyWithTotalCountByPredicate(IPredicate predicate, int startIndex, int count, params ISort[] sorts) { return(EntityContextFactory.Execute <QueryResult <CCommodityPropertyPO> >(entityContext => this.GetCommodityPropertyWithTotalCountByPredicateWithContext(entityContext, predicate, startIndex, count, sorts), 1)); }