/// <summary> /// UpdateDirect /// </summary> /// <param name="originalProjectId">originalProjectId</param> /// <param name="originalInsuranceCompanyId">originalInsuranceCompanyId</param> /// <param name="originalRefId">originalRefId</param> /// <param name="originalBudget">originalBudget</param> /// <param name="originalDeleted">originalDeleted</param> /// <param name="originalCompanyId">originalCompanyId</param> /// /// <param name="newProjectId">newProjectId</param> /// <param name="newInsuranceCompanyId">newInsuranceCompanyId</param> /// <param name="newRefId">newRefId</param> /// <param name="newBudget">newBudget</param> /// <param name="newDeleted">newDeleted</param> /// <param name="newCompanyId">newCompanyId</param> public void UpdateDirect(int originalProjectId, int originalInsuranceCompanyId, int originalRefId, decimal originalBudget, bool originalDeleted, int originalCompanyId, int newProjectId, int newInsuranceCompanyId, int newRefId, decimal newBudget, bool newDeleted, int newCompanyId) { ProjectInsurancesBudgetGateway projecInsurancesBudgetGateway = new ProjectInsurancesBudgetGateway(null); projecInsurancesBudgetGateway.Update(originalProjectId, originalInsuranceCompanyId, originalRefId, originalBudget, originalDeleted, originalCompanyId, newProjectId, newInsuranceCompanyId, newRefId, newBudget, newDeleted, newCompanyId); }
// //////////////////////////////////////////////////////////////////////// // PUBLIC METHODS // /// <summary> /// InsertDirect /// </summary> /// <param name="projectId">projectId</param> /// <param name="insuranceCompanyId">insuranceCompanyId</param> /// <param name="refId">refId</param> /// <param name="budget">budget</param> /// <param name="deleted">deleted</param> /// <param name="companyId">companyId</param> public void InsertDirect(int projectId, int insuranceCompanyId, int refId, decimal budget, bool deleted, int companyId) { ProjectInsurancesBudgetGateway projecInsurancesBudgetGateway = new ProjectInsurancesBudgetGateway(null); projecInsurancesBudgetGateway.Insert(projectId, insuranceCompanyId, refId, budget, deleted, companyId); }