コード例 #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);
     }));
 }
コード例 #2
0
 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);
     }));
 }
コード例 #3
0
 public CDistributionManagerPO GetById(int id, bool throwExceptionWhenNotExists)
 {
     return(EntityContextFactory.Execute <CDistributionManagerPO>((entityContext) =>
     {
         return this.GetByIdWithContext(entityContext, id, throwExceptionWhenNotExists);
     }));
 }
コード例 #4
0
 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);
     }));
 }
コード例 #5
0
 public CCashCouponDetailPO GetById(int id, bool throwExceptionWhenNotExists)
 {
     return(EntityContextFactory.Execute <CCashCouponDetailPO>((entityContext) =>
     {
         return this.GetByIdWithContext(entityContext, id, throwExceptionWhenNotExists);
     }));
 }
コード例 #6
0
 public CResCoordinatePO GetById(int id, bool throwExceptionWhenNotExists)
 {
     return(EntityContextFactory.Execute <CResCoordinatePO>((entityContext) =>
     {
         return this.GetByIdWithContext(entityContext, id, throwExceptionWhenNotExists);
     }));
 }
コード例 #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));
 }