示例#1
0
 public DataSynchronizationUnitOfWork(NeutrinoContext context
                                      , IBranchReceiptDS branchReceiptDS
                                      , IBranchSalesDS branchSalesDS
                                      , IInvoiceDS invoiceDS
                                      , IMemberPayrollDS memberPayrollDS
                                      , IMemberReceiptDS memberReceiptDS
                                      , IEntityRepository <Member> memberDS)
 {
     this.context             = context;
     BranchReceiptDataService = branchReceiptDS;
     BranchSalesDataService   = branchSalesDS;
     InvoiceDataService       = invoiceDS;
     MemberPayrollDataService = memberPayrollDS;
     MemberReceiptDataService = memberReceiptDS;
     MemberDataService        = memberDS;
 }
示例#2
0
 public NeutrinoUnitOfWork(NeutrinoContext context
                           , IEntityBaseRepository <AppMenu> appMenuDS
                           , IEntityBaseRepository <ApplicationAction> applicationActionDS
                           , IEntityBaseRepository <AppSetting> appSettingDS
                           , IBranchReceiptDS branchReceiptDS
                           , IBranchGoalDS branchGoalDS
                           , IEntityBaseRepository <Branch> branchDS
                           , IBranchReceiptGoalPercentDS branchReceiptGoalPercentDS
                           , IBranchSalesDS branchSalesDS
                           , ICostCoefficientDS costCoefficientDS
                           , IGoalDS goalDS
                           , IFulfillmentPercentDS goalFulfillmentDS
                           , IGoalGoodsCategoryDS goalGoodsCategoryDS
                           , IEntityBaseRepository <GoalStep> goalStepDS
                           , IInvoiceDS invoiceDS
                           , IMemberPayrollDS memberPayrollDS
                           , IMemberReceiptDS memberReceiptDS
                           , IEntityBaseRepository <OrgStructure> orgStructureDS
                           , IOrgStructureShareDS orgStructureShareDS
                           , IEntityBaseRepository <Permission> permissionDS
                           , IEntityBaseRepository <FulfillmentPromotionCondition> totalFulfillPromotionPercentDS
                           , IEntityBaseRepository <Promotion> promotionDS
                           , IQuantityConditionDS quantityConditionDS
                           , IEntityBaseRepository <BranchQuntityGoal> branchQuntityGoalDS
                           , IDataRepository <User> userDS
                           , IDataRepository <UserRole> userRoleDS
                           , IDataRepository <UserClaim> userClaimDS
                           , IEntityBaseRepository <GoalStepItemInfo> goalStepItemInfoDS
                           , IEntityBaseRepository <BranchPromotion> branchPromotionDS
                           , IEntityBaseRepository <Member> memberDS
                           , IEntityBaseRepository <Company> companyDS
                           , IEntityBaseRepository <DataSyncStatus> dataSyncStatusDS
                           , IEntityBaseRepository <Goods> goodsDS
                           , IEntityBaseRepository <GoodsCategoryType> goodsCategoryTypeDS
                           , IEntityBaseRepository <GoodsCategory> goodsCategoryDS
                           , IEntityBaseRepository <GoalNonFulfillmentPercent> goalNonFulfillmentPercentDS
                           , IEntityBaseRepository <GoalNonFulfillmentBranch> goalNonFulfillmentBranchDS
                           , IEntityBaseRepository <GoalGoodsCategoryGoods> goalGoodsCategoryGoodsDS
                           , IEntityBaseRepository <BranchGoalPromotion> branchGoalPromotionDS
                           , IEntityBaseRepository <PositionReceiptPromotion> positionReceiptPromotionDS
                           , IEntityBaseRepository <PositionType> positionTypeDS
                           , IEntityBaseRepository <PositionMapping> postionMappingDS
                           , IEntityBaseRepository <SellerPromotion> sellerPromotionDS
                           , IEntityBaseRepository <MemberPromotion> memberPromotionDS
                           , IEntityBaseRepository <MemberPenalty> memberPenaltyDS
                           , IEntityBaseRepository <ElitePosition> elitePostionDS
                           , IEntityBaseRepository <Department> departmentDS
                           , IEntityBaseRepository <MemberPromotionDetail> memberPromotionDetailDS
                           , IEntityBaseRepository <OperationPromotion> operationPromotionDS
                           )
 {
     this.context                            = context;
     AppMenuDataService                      = appMenuDS;
     AppSettingDataService                   = appSettingDS;
     ApplicationActionDataService            = applicationActionDS;
     BranchReceiptDataService                = branchReceiptDS;
     BranchGoalDataService                   = branchGoalDS;
     BranchDataService                       = branchDS;
     BranchReceiptGoalPercentDataService     = branchReceiptGoalPercentDS;
     BranchSalesDataService                  = branchSalesDS;
     CostCoefficientDataService              = costCoefficientDS;
     GoalDataService                         = goalDS;
     FulfillmentPercentDataService           = goalFulfillmentDS;
     GoalGoodsCategoryDataService            = goalGoodsCategoryDS;
     GoalStepDataService                     = goalStepDS;
     InvoiceDataService                      = invoiceDS;
     MemberPayrollDataService                = memberPayrollDS;
     MemberReceiptDataService                = memberReceiptDS;
     OrgStructureDataService                 = orgStructureDS;
     OrgStructureShareDataService            = orgStructureShareDS;
     PermissionDataService                   = permissionDS;
     TotalFulfillPromotionPercentDataService = totalFulfillPromotionPercentDS;
     PromotionDataService                    = promotionDS;
     QuantityConditionDataService            = quantityConditionDS;
     BranchQuntityGoalDataService            = branchQuntityGoalDS;
     UserDataService                         = userDS;
     UserRoleDataService                     = userRoleDS;
     UserClaimDataService                    = userClaimDS;
     GoalStepItemInfoDataService             = goalStepItemInfoDS;
     BranchPromotionDataService              = branchPromotionDS;
     MemberDataService                       = memberDS;
     CompanyDataService                      = companyDS;
     DataSyncStatusDataService               = dataSyncStatusDS;
     GoodsDataService                        = goodsDS;
     GoodsCategoryTypeDataService            = goodsCategoryTypeDS;
     GoodsCategoryDataService                = goodsCategoryDS;
     GoalNonFulfillmentPercentDataService    = goalNonFulfillmentPercentDS;
     GoalNonFulfillmentBranchDataService     = goalNonFulfillmentBranchDS;
     GoalGoodsCategoryGoodsDataService       = goalGoodsCategoryGoodsDS;
     BranchGoalPromotionDataService          = branchGoalPromotionDS;
     PositionReceiptPromotionDataService     = positionReceiptPromotionDS;
     PositionTypeDataService                 = positionTypeDS;
     PositionMappingDataService              = postionMappingDS;
     SellerPromotionDataService              = sellerPromotionDS;
     MemberPromotionDataService              = memberPromotionDS;
     MemberPenaltyDataService                = memberPenaltyDS;
     ElitePositionDataService                = elitePostionDS;
     DepartmentDataService                   = departmentDS;
     MemberPromotionDetailDataService        = memberPromotionDetailDS;
     OperationPromotionDataService           = operationPromotionDS;
 }