コード例 #1
0
 /// <summary>
 /// UpdateDirect
 /// </summary>
 /// <param name="originalProjectId">originalProjectId</param>
 /// <param name="originalWork_">originalWork_</param>
 /// <param name="originalBudget">originalBudget</param>
 /// <param name="originalDeleted">originalDeleted</param>
 /// <param name="originalCompanyId">originalCompanyId</param>
 /// 
 /// <param name="newProjectId">newProjectId</param>
 /// <param name="newBudget">newBudget</param>
 /// <param name="newDeleted">newDeleted</param>
 /// <param name="newCompanyId">newCompanyId</param>
 public void UpdateDirect(int originalProjectId, decimal originalBudget, bool originalDeleted, int originalCompanyId, int newProjectId,decimal newBudget, bool newDeleted, int newCompanyId)
 {
     ProjecMaterialsBudgetGateway projectMaterialsBudgetGateway = new ProjecMaterialsBudgetGateway(null);
     projectMaterialsBudgetGateway.Update(originalProjectId, originalBudget, originalDeleted, originalCompanyId, newProjectId, newBudget, newDeleted, newCompanyId);
 }
コード例 #2
0
 // ////////////////////////////////////////////////////////////////////////
 // PUBLIC METHODS
 //
 /// <summary>
 /// InsertDirect
 /// </summary>
 /// <param name="projectId">projectId</param>
 /// <param name="budget">budget</param>
 /// <param name="deleted">deleted</param>
 /// <param name="companyId">companyId</param>
 public void InsertDirect(int projectId, decimal budget, bool deleted, int companyId)
 {
     ProjecMaterialsBudgetGateway projectMaterialsBudgetGateway = new ProjecMaterialsBudgetGateway(null);
     projectMaterialsBudgetGateway.Insert(projectId, budget, deleted, companyId);
 }