Ejemplo n.º 1
0
        public static void SeedPersonalDb(PersonalsNewDbContext context)
        {
            context.SuppressAutoSetTenantId = true;

            //Host seed
            new InitialDbBuilder(context).Create();
        }
Ejemplo n.º 2
0
 public PaymentOBAppService(PaymentOBConfiguration configuration,
                            IPaymentMidtransHelper paymentMidtranshelper,
                            IRepository <TR_UnitOrderHeader> trUnitOrderHeader,
                            IRepository <TR_UnitOrderDetail> trUnitOrderDetail,
                            IRepository <MS_Unit> msUnit,
                            IRepository <MS_UnitCode> msUnitCode,
                            IRepository <PERSONALS, string> personalsRepo,
                            IRepository <TR_BookingHeader> bookingHeaderRepo,
                            IRepository <MS_TujuanTransaksi> tujuanTransaksiRepo,
                            IRepository <MS_SumberDana> sumberDanaRepo,
                            IRepository <TR_ID, string> trIDRepo,
                            IRepository <MS_Schema, string> msSchemaRepo,
                            IRepository <PERSONALS_MEMBER, string> personalsMemberRepo,
                            IRepository <TR_Phone, string> trPhoneRepo,
                            PersonalsNewDbContext personalContext,
                            PropertySystemDbContext propertySystemContext,
                            NewCommDbContext newCommContext,
                            IEmailAppService emailAppService)
 {
     _newCommContext        = newCommContext;
     _propertySystemContext = propertySystemContext;
     _personalContext       = personalContext;
     _trUnitOrderHeader     = trUnitOrderHeader;
     _trUnitOrderDetail     = trUnitOrderDetail;
     _msUnit                = msUnit;
     _msUnitCode            = msUnitCode;
     _personalsRepo         = personalsRepo;
     _bookingHeaderRepo     = bookingHeaderRepo;
     _tujuanTransaksiRepo   = tujuanTransaksiRepo;
     _sumberDanaRepo        = sumberDanaRepo;
     _trIDRepo              = trIDRepo;
     _msSchemaRepo          = msSchemaRepo;
     _personalsMemberRepo   = personalsMemberRepo;
     _trPhoneRepo           = trPhoneRepo;
     _paymentMidtranshelper = paymentMidtranshelper;
     _configuration         = configuration;
     _emailAppService       = emailAppService;
 }
Ejemplo n.º 3
0
 public DocumentCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 4
0
 public PhoneTypeCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 5
0
 public PSASChangeRenovAppService(
     IRepository <MS_UnitItem> msUnitItem,
     IRepository <LK_Item> lkItem,
     IRepository <MS_Unit> msUnit,
     IRepository <MS_UnitCode> msUnitCode,
     IRepository <TR_BookingHeader> trBookingHeader,
     IRepository <MS_Area> msArea,
     IRepository <MS_Project> msProject,
     IRepository <MS_Product> msProduct,
     IRepository <MS_Cluster> msCluster,
     IRepository <MS_Category> msCategory,
     IRepository <MS_Detail> msDetail,
     IRepository <MS_Term> msTerm,
     IRepository <LK_UnitStatus> lkUnitStatus,
     IRepository <PERSONALS, string> personals,
     IRepository <LK_PayType> lkPayType,
     IRepository <MS_TransFrom> msTransform,
     IRepository <MS_Schema, string> msSchema,
     IRepository <MS_ShopBusiness> msShopBusiness,
     IRepository <MS_SalesEvent> msSalesEvent,
     IRepository <LK_SADStatus> lkSADStatus,
     IRepository <LK_Promotion> lkPromotion,
     IRepository <TR_BookingDetail> trBookingDetail,
     IRepository <MS_Company> msCompanyRepo,
     IRepository <TR_Address, string> trAddressRepo,
     IRepository <PERSONALS_MEMBER, string> personalMemberRepo,
     IRepository <TR_Phone, string> trPhoneRepo,
     IRepository <LK_Reason> lkReasonRepo,
     IPSASPriceAppService iPriceAppService,
     PersonalsNewDbContext contextPers,
     NewCommDbContext contextNew,
     PropertySystemDbContext contextProp,
     IRepository <TR_BookingItemPrice> trBookingItemPriceRepo,
     IRepository <TR_BookingDetailAddDisc> trBookingDetailAddDiscRepo
     )
 {
     _contextProp                = contextProp;
     _msUnitItemRepo             = msUnitItem;
     _lkItemRepo                 = lkItem;
     _msUnitRepo                 = msUnit;
     _msUnitCodeRepo             = msUnitCode;
     _trBookingHeaderRepo        = trBookingHeader;
     _msAreaRepo                 = msArea;
     _msProjectRepo              = msProject;
     _msProductRepo              = msProduct;
     _msClusterRepo              = msCluster;
     _msCategoryRepo             = msCategory;
     _msDetailRepo               = msDetail;
     _msTermRepo                 = msTerm;
     _lkUnitStatusRepo           = lkUnitStatus;
     _personalsRepo              = personals;
     _lkPayTypeRepo              = lkPayType;
     _msTransformRepo            = msTransform;
     _msSchemaRepo               = msSchema;
     _msShopBusinessRepo         = msShopBusiness;
     _msSalesEventRepo           = msSalesEvent;
     _lkSADStatusRepo            = lkSADStatus;
     _lkPromotionRepo            = lkPromotion;
     _trBookingDetailRepo        = trBookingDetail;
     _msCompanyRepo              = msCompanyRepo;
     _trAddressRepo              = trAddressRepo;
     _personalMemberRepo         = personalMemberRepo;
     _trPhoneRepo                = trPhoneRepo;
     _lkReasonRepo               = lkReasonRepo;
     _iPriceAppService           = iPriceAppService;
     _contextPers                = contextPers;
     _contextNew                 = contextNew;
     _trBookingItemPriceRepo     = trBookingItemPriceRepo;
     _trBookingDetailAddDiscRepo = trBookingDetailAddDiscRepo;
 }
Ejemplo n.º 6
0
 public CityCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 7
0
 public MarStatusCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 8
0
 public BankTypeCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 9
0
 public SpecCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 10
0
 public BloodCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 11
0
 public ReligionCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 12
0
 public FamilyStatus(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 13
0
 public JobTitleCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 14
0
 public InitialDbBuilder(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 15
0
 public KeyPeopleCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 16
0
 public OccupationCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 17
0
 public PSASMainAppService(
     IRepository <MS_UnitItem> msUnitItem,
     IRepository <LK_Item> lkItem,
     IRepository <MS_Unit> msUnit,
     IRepository <MS_UnitCode> msUnitCode,
     IRepository <TR_BookingHeader> trBookingHeader,
     IRepository <MS_Area> msArea,
     IRepository <MS_Project> msProject,
     IRepository <MS_Product> msProduct,
     IRepository <MS_Cluster> msCluster,
     IRepository <MS_Category> msCategory,
     IRepository <MS_Detail> msDetail,
     IRepository <MS_Term> msTerm,
     IRepository <LK_UnitStatus> lkUnitStatus,
     IRepository <PERSONALS, string> personals,
     IRepository <LK_PayType> lkPayType,
     IRepository <MS_TransFrom> msTransform,
     IRepository <MS_Schema, string> msSchema,
     IRepository <MS_ShopBusiness> msShopBusiness,
     IRepository <MS_SalesEvent> msSalesEvent,
     IRepository <LK_SADStatus> lkSADStatus,
     IRepository <LK_Promotion> lkPromotion,
     IRepository <TR_BookingDetail> trBookingDetail,
     IRepository <LK_FinType> lkFinType,
     IRepository <TR_BookingCancel> trBookingCancel,
     IRepository <MS_Company> msCompanyRepo,
     IRepository <TR_Address, string> trAddressRepo,
     IRepository <PERSONALS_MEMBER, string> personalMemberRepo,
     IRepository <TR_Phone, string> trPhoneRepo,
     IRepository <LK_Reason> lkReasonRepo,
     IPSASPriceAppService ipriceAppService,
     PersonalsNewDbContext contextPers,
     NewCommDbContext contextNew,
     IPSASPaymentAppService iPaymentAppService,
     IPSASScheduleAppService iScheduleAppService,
     IPrintBookingProfileExcelExporter printBookingProfileExcelExporter,
     TAXDbContext contextTax,
     PropertySystemDbContext contextProp
     )
 {
     _contextTax = contextTax;
     _printBookingProfileExcelExporter = printBookingProfileExcelExporter;
     _iScheduleAppService = iScheduleAppService;
     _iPaymentAppService  = iPaymentAppService;
     _contextProp         = contextProp;
     _msUnitItemRepo      = msUnitItem;
     _lkItemRepo          = lkItem;
     _msUnitRepo          = msUnit;
     _msUnitCodeRepo      = msUnitCode;
     _trBookingHeaderRepo = trBookingHeader;
     _msAreaRepo          = msArea;
     _msProjectRepo       = msProject;
     _msProductRepo       = msProduct;
     _msClusterRepo       = msCluster;
     _msCategoryRepo      = msCategory;
     _msDetailRepo        = msDetail;
     _msTermRepo          = msTerm;
     _lkUnitStatusRepo    = lkUnitStatus;
     _personalsRepo       = personals;
     _lkPayTypeRepo       = lkPayType;
     _msTransformRepo     = msTransform;
     _msSchemaRepo        = msSchema;
     _msShopBusinessRepo  = msShopBusiness;
     _msSalesEventRepo    = msSalesEvent;
     _lkSADStatusRepo     = lkSADStatus;
     _lkPromotionRepo     = lkPromotion;
     _trBookingDetailRepo = trBookingDetail;
     _lkFinTypeRepo       = lkFinType;
     _trBookingCancelRepo = trBookingCancel;
     _msCompanyRepo       = msCompanyRepo;
     _trAddressRepo       = trAddressRepo;
     _personalMemberRepo  = personalMemberRepo;
     _trPhoneRepo         = trPhoneRepo;
     _lkReasonRepo        = lkReasonRepo;
     _ipriceAppService    = ipriceAppService;
     _contextPers         = contextPers;
     _contextNew          = contextNew;
 }
Ejemplo n.º 18
0
 public BulkPaymentAppService(
     IRepository <LK_Alloc> lkAllocRepo,
     IRepository <LK_PayFor> lkPayForRepo,
     IRepository <LK_PayType> lkPayTypeRepo,
     IRepository <LK_OthersType> lkOthersTypeRepo,
     IRepository <SYS_RolesPayFor> sysRolesPayForRepo,
     IRepository <SYS_RolesPayType> sysRolesPayTypeRepo,
     IRepository <SYS_RolesOthersType> sysRolesOthersTypeRepo,
     PropertySystemDbContext contextPropertySystem,
     AccountingDbContext contextAccounting,
     TAXDbContext contextTAX,
     PersonalsNewDbContext contextPersonals,
     DemoDbContext contextEngine3,
     IRepository <TR_PaymentHeader> trPaymentHeaderRepo,
     IRepository <TR_BookingHeader> trBookingHeaderRepo,
     IRepository <TR_PaymentDetail> trPaymentDetailRepo,
     IRepository <TR_PaymentDetailAlloc> trPaymentDetailAllocRepo,
     IRepository <TR_PaymentBulk> trPaymentBulkRepo,
     IRepository <MS_Unit> msUnitRepo,
     IRepository <MS_UnitCode> msUnitCodeRepo,
     IRepository <MS_Project> msProjectRepo,
     IRepository <MS_Area> msAreaRepo,
     IRepository <MS_Category> msCategoryRepo,
     IRepository <MS_Cluster> msClusterRepo,
     IRepository <TR_BookingDetail> trBookingDetailRepo,
     IRepository <TR_BookingDetailSchedule> trBookingDetailScheduleRepo,
     IRepository <MS_Company> msCompanyRepo,
     IRepository <MS_Account> msAccountRepo,
     IInputPaymentAppService iInputPaymentAppService,
     IPSASScheduleAppService iPSASScheduleAppService
     )
 {
     _lkAllocRepo                 = lkAllocRepo;
     _lkPayForRepo                = lkPayForRepo;
     _lkPayTypeRepo               = lkPayTypeRepo;
     _lkOthersTypeRepo            = lkOthersTypeRepo;
     _sysRolesPayForRepo          = sysRolesPayForRepo;
     _sysRolesPayTypeRepo         = sysRolesPayTypeRepo;
     _sysRolesOthersTypeRepo      = sysRolesOthersTypeRepo;
     _contextPropertySystem       = contextPropertySystem;
     _contextAccounting           = contextAccounting;
     _contextTAX                  = contextTAX;
     _contextPersonals            = contextPersonals;
     _contextEngine3              = contextEngine3;
     _trPaymentHeaderRepo         = trPaymentHeaderRepo;
     _trBookingHeaderRepo         = trBookingHeaderRepo;
     _trPaymentDetailRepo         = trPaymentDetailRepo;
     _trPaymentDetailAllocRepo    = trPaymentDetailAllocRepo;
     _trPaymentBulkRepo           = trPaymentBulkRepo;
     _msUnitRepo                  = msUnitRepo;
     _msUnitCodeRepo              = msUnitCodeRepo;
     _msProjectRepo               = msProjectRepo;
     _msAreaRepo                  = msAreaRepo;
     _msCategoryRepo              = msCategoryRepo;
     _msClusterRepo               = msClusterRepo;
     _trBookingDetailRepo         = trBookingDetailRepo;
     _trBookingDetailScheduleRepo = trBookingDetailScheduleRepo;
     _msCompanyRepo               = msCompanyRepo;
     _msAccountRepo               = msAccountRepo;
     _iInputPaymentAppService     = iInputPaymentAppService;
     _iPSASScheduleAppService     = iPSASScheduleAppService;
 }
Ejemplo n.º 19
0
 public GradeCreator(PersonalsNewDbContext context)
 {
     _context = context;
 }
Ejemplo n.º 20
0
 public AddrType(PersonalsNewDbContext context)
 {
     _context = context;
 }