/// <summary> /// UpdateDirect /// </summary> /// <param name="originalProjectId">originalProjectId</param> /// <param name="originalWork_">originalWork_</param> /// <param name="originalFunction_">originalFunction_</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_">newWork_</param> /// <param name="newFunction_">newFunction_</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 originalBondingCompanyId, int originalRefId, decimal originalBudget, bool originalDeleted, int originalCompanyId, int newProjectId, int newBondingCompanyId, int newRefId, decimal newBudget, bool newDeleted, int newCompanyId) { ProjectBondingsBudgetGateway projectBondingsBudgetGateway = new ProjectBondingsBudgetGateway(null); projectBondingsBudgetGateway.Update(originalProjectId, originalBondingCompanyId, originalRefId, originalBudget, originalDeleted, originalCompanyId, newProjectId, newBondingCompanyId, newRefId, newBudget, newDeleted, newCompanyId); }
// //////////////////////////////////////////////////////////////////////// // PUBLIC METHODS // /// <summary> /// InsertDirect /// </summary> /// <param name="projectId">projectId</param> /// <param name="work_">work_</param> /// <param name="function_">function_</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 bondingCompanyId, int refId, decimal budget, bool deleted, int companyId) { ProjectBondingsBudgetGateway projectBondingsBudgetGateway = new ProjectBondingsBudgetGateway(null); projectBondingsBudgetGateway.Insert(projectId, bondingCompanyId, refId, budget, deleted, companyId); }