/// <summary> /// UpdateDirect /// </summary> /// <param name="originalProjectId">originalProjectId</param> /// <param name="originalSubcontractorId">originalSubcontractorId</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="newWork_">newSubcontractorId</param> /// <param name="newBudget">newBudget</param> /// <param name="newDeleted">newDeleted</param> /// <param name="newCompanyId">newCompanyId</param> public void UpdateDirect(int originalProjectId, int originalSubcontractorId, int originalRefId, decimal originalBudget, bool originalDeleted, int originalCompanyId, int newProjectId, int newSubcontractorId, int newRefId, decimal newBudget, bool newDeleted, int newCompanyId) { ProjectSubcontractorsBudgetGateway projectSubcontractorsBudgetGateway = new ProjectSubcontractorsBudgetGateway(null); projectSubcontractorsBudgetGateway.Update(originalProjectId, originalSubcontractorId, originalRefId, originalBudget, originalDeleted, originalCompanyId, newProjectId, newSubcontractorId, newRefId, newBudget, newDeleted, newCompanyId); }
// //////////////////////////////////////////////////////////////////////// // PUBLIC METHODS // /// <summary> /// InsertDirect /// </summary> /// <param name="projectId">projectId</param> /// <param name="subcontractorId">subcontractorId</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 subcontractorId, int refId, decimal budget, bool deleted, int companyId) { ProjectSubcontractorsBudgetGateway projectSubcontractorsBudgetGateway = new ProjectSubcontractorsBudgetGateway(null); projectSubcontractorsBudgetGateway.Insert(projectId, subcontractorId, refId, budget, deleted, companyId); }