/// <summary> /// UpdateDirect /// </summary> /// <param name="originalProjectId">originalProjectId</param> /// <param name="originalHolelId">originalHolelId</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="newHolelId">newHolelId</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 originalHolelId, int originalRefId, decimal originalBudget, bool originalDeleted, int originalCompanyId, int newProjectId, int newHolelId, int newRefId, decimal newBudget, bool newDeleted, int newCompanyId) { ProjectHotelsBudgetGateway projectHotelsBudgetGateway = new ProjectHotelsBudgetGateway(null); projectHotelsBudgetGateway.Update(originalProjectId, originalHolelId, originalRefId, originalBudget, originalDeleted, originalCompanyId, newProjectId, newHolelId, newRefId, newBudget, newDeleted, newCompanyId); }
// //////////////////////////////////////////////////////////////////////// // PUBLIC METHODS // /// <summary> /// InsertDirect /// </summary> /// <param name="projectId">projectId</param> /// <param name="holelId">holelId</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 holelId, int refId, decimal budget, bool deleted, int companyId) { ProjectHotelsBudgetGateway projectHotelsBudgetGateway = new ProjectHotelsBudgetGateway(null); projectHotelsBudgetGateway.Insert(projectId, holelId, refId, budget, deleted, companyId); }