コード例 #1
0
 /// <summary>
 /// UpdateDirect
 /// </summary>
 /// <param name="originalProjectId">originalProjectId</param>
 /// <param name="originalCategory">originalCategory</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="originalCategory">originalCategory</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,  string originalCategory, int originalRefId, decimal originalBudget, bool originalDeleted, int originalCompanyId, int newProjectId, string newCategory, int newRefId, decimal newBudget, bool newDeleted, int newCompanyId)
 {
     ProjectOtherCostsBudgetGateway projectOtherCostsBudgetGateway = new ProjectOtherCostsBudgetGateway(null);
     projectOtherCostsBudgetGateway.Update(originalProjectId, originalCategory, originalRefId, originalBudget, originalDeleted, originalCompanyId, newProjectId, newCategory, newRefId, newBudget, newDeleted, newCompanyId);
 }
コード例 #2
0
 // ////////////////////////////////////////////////////////////////////////
 // PUBLIC METHODS
 //
 /// <summary>
 /// InsertDirect
 /// </summary>
 /// <param name="projectId">projectId</param>
 /// <param name="category">category</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, string category, int refId, decimal budget, bool deleted, int companyId)
 {
     ProjectOtherCostsBudgetGateway projectOtherCostsBudgetGateway = new ProjectOtherCostsBudgetGateway(null);
     projectOtherCostsBudgetGateway.Insert(projectId, category, refId, budget, deleted, companyId);
 }