/// <summary>
 /// DeleteDirect
 /// </summary>
 /// <param name="costingSheetId">costingSheetId</param>
 /// <param name="materialId">materialId</param>
 /// <param name="refId">refId</param>
 /// <param name="companyId">companyId</param>
 public void DeleteDirect(int costingSheetId, int materialId, int refId, int companyId)
 {
     ProjectCombinedCostingSheetMaterialsGateway projectCostingSheetMaterialsGateway = new ProjectCombinedCostingSheetMaterialsGateway(null);
     projectCostingSheetMaterialsGateway.Delete(costingSheetId, materialId, refId, companyId);
 }
 // ////////////////////////////////////////////////////////////////////////
 // PUBLIC METHODS
 //
 /// <summary>
 /// Insert
 /// </summary>
 /// <param name="costingSheetId">costingSheetId</param>
 /// <param name="materialId">materialId</param>
 /// <param name="refId">refId</param>
 /// <param name="unitOfMeasurement">unitOfMeasurement</param>
 /// <param name="quantity">quantity</param>
 /// <param name="costCad">costCad</param>
 /// <param name="totalCostCad">totalCostCad</param>
 /// <param name="costUsd">costUsd</param>
 /// <param name="totalCostUsd">totalCostUsd</param>
 /// <param name="deleted">deleted</param>
 /// <param name="companyId">companyId</param>
 /// <param name="startDate">startDate</param>
 /// <param name="endDate">endDate</param>
 /// <param name="function_">function_</param>
 public void InsertDirect(int costingSheetId, int materialId, int refId, string unitOfMeasurement, double quantity, decimal costCad, decimal totalCostCad, decimal costUsd, decimal totalCostUsd, bool deleted, int companyId, DateTime startDate, DateTime endDate, string function_, int projectId)
 {
     ProjectCombinedCostingSheetMaterialsGateway projectCostingSheetMaterialsGateway = new ProjectCombinedCostingSheetMaterialsGateway(null);
     projectCostingSheetMaterialsGateway.Insert(costingSheetId, materialId, refId, unitOfMeasurement, quantity, costCad, totalCostCad, costUsd, totalCostUsd, deleted, companyId, startDate, endDate, function_, projectId);
 }
 /// <summary>
 /// UpdateDirect
 /// </summary>
 /// <param name="costingSheetId">costingSheetId</param>
 /// <param name="materialId">materialId</param>
 /// <param name="refId">refId</param>
 /// <param name="originalUnitOfMeasurement">originalUnitOfMeasurement</param>
 /// <param name="originalQuantity">originalQuantity</param>
 /// <param name="originalCostCad">originalCostCad</param>
 /// <param name="originalTotalCostCad">originalTotalCostCad</param>
 /// <param name="originalCostUsd">originalCostUsd</param>
 /// <param name="originalTotalCostUsd">originalTotalCostUsd</param>
 /// <param name="originalDeleted">originalDeleted</param>
 /// <param name="originalCompanyId">originalCompanyId</param>
 /// <param name="originalStartDate">originalStartDate</param>
 /// <param name="originalEndDate">originalEndDate</param>
 /// <param name="originalFunction_">originalFunction_</param>
 /// 
 /// <param name="newUnitOfMeasurement">newUnitOfMeasurement</param>
 /// <param name="newQuantity">newQuantity</param>
 /// <param name="newCostCad">newCostCad</param>
 /// <param name="newTotalCostCad">newTotalCostCad</param>
 /// <param name="newCostUsd">newCostUsd</param>
 /// <param name="newTotalCostUsd">newTotalCostUsd</param>
 /// <param name="newDeleted">newDeleted</param>
 /// <param name="newCompanyId">newCompanyId</param>
 /// <param name="newStartDate">newStartDate</param>
 /// <param name="newEndDate">newEndDate</param>
 /// <param name="newFunction_">newFunction_</param>
 public void UpdateDirect(int costingSheetId, int materialId, int refId, string originalUnitOfMeasurement, double originalQuantity, decimal originalCostCad, decimal originalTotalCostCad, decimal originalCostUsd, decimal originalTotalCostUsd, bool originalDeleted, int originalCompanyId, DateTime originalStartDate, DateTime originalEndDate, string originalFunction_, string newUnitOfMeasurement, double newQuantity, decimal newCostCad, decimal newTotalCostCad, decimal newCostUsd, decimal newTotalCostUsd, bool newDeleted, int newCompanyId, DateTime newStartDate, DateTime newEndDate, string newFunction_)
 {
     ProjectCombinedCostingSheetMaterialsGateway projectCostingSheetMaterialsGateway = new ProjectCombinedCostingSheetMaterialsGateway(null);
     projectCostingSheetMaterialsGateway.Update(costingSheetId, materialId, refId, originalUnitOfMeasurement, originalQuantity, originalCostCad, originalTotalCostCad, originalCostUsd, originalTotalCostUsd, originalDeleted, originalCompanyId, originalStartDate, originalEndDate, originalFunction_, newUnitOfMeasurement, newQuantity, newCostCad, newTotalCostCad, newCostUsd, newTotalCostUsd, newDeleted, newCompanyId, newStartDate, newEndDate, newFunction_);
 }