public InsuranceUnitOfWork(string connectionString) { City = new CityRepository(connectionString); Country = new CountryRepository(connectionString); Customer = new CustomerRepository(connectionString); CustomerType = new CustomerTypeRepository(connectionString); EPS = new EPSRepository(connectionString); Gender = new GenderRepository(connectionString); IdentificationType = new IdentificationTypeRepository(connectionString); MaritalStatus = new MaritalStatusRepository(connectionString); Occupation = new OccupationRepository(connectionString); Prefix = new PrefixRepository(connectionString); State = new StateRepository(connectionString); User = new UserRepository(connectionString); Insurance = new InsuranceRepository(connectionString); InsuranceLine = new InsuranceLineRepository(connectionString); Intermediary = new IntermediaryRepository(connectionString); Technician = new TechnicianRepository(connectionString); Salesman = new SalesmanRepository(connectionString); }
public InsuranceUnitOfWork(string connectionString) { City = new CityRepository(connectionString); Country = new CountryRepository(connectionString); Customer = new CustomerRepository(connectionString); CustomerType = new CustomerTypeRepository(connectionString); EPS = new EPSRepository(connectionString); Gender = new GenderRepository(connectionString); IdentificationType = new IdentificationTypeRepository(connectionString); MaritalStatus = new MaritalStatusRepository(connectionString); Occupation = new OccupationRepository(connectionString); Prefix = new PrefixRepository(connectionString); State = new StateRepository(connectionString); User = new UserRepository(connectionString); Insurance = new InsuranceRepository(connectionString); InsuranceLine = new InsuranceLineRepository(connectionString); InsuranceSubline = new InsuranceSublineRepository(connectionString); InsuranceLineType = new InsuranceLineTypeRepository(connectionString); InsuranceLineClass = new InsuranceLineClassRepository(connectionString); InsuranceLineCommission = new InsuranceLineCommissionRepository(connectionString); RecordStatus = new RecordStatusRepository(connectionString); PolicyState = new PolicyStateRepository(connectionString); PolicyType = new PolicyTypeRepository(connectionString); Intermediary = new IntermediaryRepository(connectionString); Technician = new TechnicianRepository(connectionString); Salesman = new SalesmanRepository(connectionString); Policy = new PolicyRepository(connectionString); TaskAbout = new TaskAboutRepository(connectionString); Priority = new PriorityRepository(connectionString); Task = new TaskRepository(connectionString); ExternalSalesman = new ExternalSalesmanRepository(connectionString); TypeDigitalizedFile = new TypeDigitalizedFileRepository(connectionString); DigitalizedFile = new DigitalizedFileRepository(connectionString); BranchOffice = new BranchOfficeRepository(connectionString); ManagementType = new ManagementTypeRepository(connectionString); //Management = new ManagementRepository(connectionString); //ManagementTask = new ManagementTaskRepository(connectionString); PaymentMethod = new PaymentMethodRepository(connectionString); Financial = new FinancialRepository(connectionString); Management = new ManagementRepository(connectionString); ManagementPartner = new ManagementPartnerRespository(connectionString); ManagementState = new ManagementStateRespository(connectionString); ManagementExtra = new ManagementExtraRepository(connectionString); FinancialOption = new FinancialOptionRepository(connectionString); VehicleBodywork = new VehicleBodyWorkRepository(connectionString); VehicleBrand = new VehicleBrandRepository(connectionString); VehicleClass = new VehicleClassRepository(connectionString); VehicleReference = new VehicleReferenceRepository(connectionString); Vehicle = new VehicleRepository(connectionString); VehicleService = new VehicleServiceRepository(connectionString); Company = new CompanyRepository(connectionString); ProductCompany = new ProductCompanyRepository(connectionString); PolicyProduct = new PolicyProductRepository(connectionString); SalesmanProfile = new SalesmanProfileRepository(connectionString); MovementType = new MovementTypeRepository(connectionString); SalesmanParam = new SalesmanParamRepository(connectionString); ExternalSalesmanParam = new ExternalSalesmanParamRepository(connectionString); Settings = new SettingsRepository(connectionString); Beneficiary = new BeneficiaryRepository(connectionString); PolicyBeneficiary = new PolicyBeneficiaryRepository(connectionString); PolicyInsured = new PolicyInsuredRepository(connectionString); Relationship = new RelationshipRepository(connectionString); PolicyOrder = new PolicyOrderRepository(connectionString); SystemProfile = new SystemProfileRepository(connectionString); UserProfile = new UserProfileRepository(connectionString); PolicyOrderDetail = new PolicyOrderDetailRepository(connectionString); PolicyFee = new PolicyFeeRepository(connectionString); PolicyFeeFinancial = new PolicyFeeFinancialRepository(connectionString); SystemAudit = new SystemAuditRepository(connectionString); PaymentType = new PaymentTypeRepository(connectionString); Payment = new PaymentRepository(connectionString); PaymentDetail = new PaymentDetailRepository(connectionString); PaymentDetailFinancial = new PaymentDetailFinancialRepository(connectionString); PolicyPromisoryNote = new PolicyPromisoryNoteRepository(connectionString); ManagementReason = new ManagementReasonRepository(connectionString); InterestDue = new InterestDueRepository(connectionString); PolicyOutlay = new PolicyOutlayRepository(connectionString); Settlement = new SettlementRepository(connectionString); PolicySettlement = new PolicySettlementRepository(connectionString); Petition = new PetitionRepository(connectionString); PetitionTrace = new PetitionTraceRepository(connectionString); PetitionState = new PetitionStateRepository(connectionString); CollectionMethod = new CollectionMethodRepository(connectionString); PetitionType = new PetitionTypeRepository(connectionString); CancellationReason = new CancellationReasonRepository(connectionString); Renewal = new RenewalRepository(connectionString); SubMenuProfilePerm = new SubMenuProfilePermRepository(connectionString); RestrictedPhones = new RestrictedPhonesRepository(connectionString); AllowedDomains = new AllowedDomainsRepository(connectionString); Onerous = new OnerousRepository(connectionString); PolicyReferences = new PolicyReferencesRepository(connectionString); TechnicalAsign = new TechnicalAssignRepository(connectionString); DeleteDocumentPermission = new DeleteDocumentPermissionRepository(connectionString); PolicyAuthorization = new PolicyAuthorizationRepository(connectionString); PolicyAuthorizationDisc = new PolicyAuthorizationDiscRepository(connectionString); PolicyAuthorizationFinanOwnProduct = new PolicyAuthorizationFinanOwnProductRepository(connectionString); Fasecolda = new FasecoldaRepository(connectionString); WaytoPay = new WaytoPayRepository(connectionString); PaymentMethodThird = new PaymentMethodThirdRepository(connectionString); PaymentThirdAccount = new PaymentThirdAccountRepository(connectionString); PolicyPaymentThird = new PolicyPaymentThirdRepository(connectionString); InsuranceLineGroup = new InsuranceLineGroupRepository(connectionString); BusinessUnit = new BusinessUnitRepository(connectionString); BusinessUnitDetail = new BusinessUnitDetailRepository(connectionString); CustomerBusinessUnit = new CustomerBusinessUnitRepository(connectionString); PolicyFeeProduct = new PolicyFeeProductRepository(connectionString); PaymentDetailProduct = new PaymentDetailProductRepository(connectionString); PolicyInvoice = new PolicyInvoiceRepository(connectionString); ExternalUser = new ExternalUserRepository(connectionString); PolicyExternalUser = new PolicyExternalUserRepository(connectionString); DigitalizedFileType = new DigitalizedFileTypeRepository(connectionString); PolicyAttachedLast = new PolicyAttachedRepository(connectionString); PolicyAttachedLastBeneficiary = new PolicyAttachedLastBeneficiaryRepository(connectionString); PolicyAttachedLastInsured = new PolicyAttachedLastInsuredRepository(connectionString); PolicyAttachedLastProduct = new PolicyAttachedLastProductRepository(connectionString); PolicyAttachedLastReferences = new PolicyAttachedLastReferencesRepository(connectionString); PolicyAttachedLastFee = new PolicyAttachedLastFeeRepository(connectionString); PolicyAttachedLastFeeFinancial = new PolicyAttachedLastFeeFinancialRepository(connectionString); PolicyBck = new PolicyBckRepository(connectionString); PolicyInspected = new PolicyInpsectedRepository(connectionString); PolicyPendingRegistration = new PolicyPendingRegistrationRepository(connectionString); VehicleInspection = new VehicleInspectionRepository(connectionString); VehicleType = new VehicleTypeRepository(connectionString); }