Beispiel #1
0
 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);
     }));
 }
Beispiel #3
0
 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);
     }));
 }
Beispiel #6
0
 public CResCoordinatePO GetById(int id, bool throwExceptionWhenNotExists)
 {
     return(EntityContextFactory.Execute <CResCoordinatePO>((entityContext) =>
     {
         return this.GetByIdWithContext(entityContext, id, throwExceptionWhenNotExists);
     }));
 }
Beispiel #7
0
 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));
 }