/// <summary>
 /// DeleteDirect
 /// </summary>
 /// <param name="costingSheetId">costingSheetId</param>
 /// <param name="subcontractorID">subcontractorID</param>
 /// <param name="refId">refId</param>
 /// <param name="companyId">companyId</param>
 public void DeleteDirect(int costingSheetId, int subcontractorId, int refId, int companyId)
 {
     ProjectCombinedCostingSheetSubcontractorsGateway projectCostingSheetSubcontractorsGateway = new ProjectCombinedCostingSheetSubcontractorsGateway(null);
     projectCostingSheetSubcontractorsGateway.Delete(costingSheetId, subcontractorId, refId, companyId);
 }
 // ////////////////////////////////////////////////////////////////////////
 // PUBLIC METHODS
 //
 /// <summary>
 /// InsertDirect
 /// </summary>
 /// <param name="costingSheetId">costingSheetId</param>
 /// <param name="subcontractorID">subcontractorID</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>
 /// <param name="comment">comment</param>
 public void InsertDirect(int costingSheetId, int subcontractorID, int refId, string unitOfMeasurement, double quantity, decimal costCad, decimal totalCostCad, decimal costUsd, decimal totalCostUsd, bool deleted, int companyId, DateTime startDate, DateTime endDate, string comment, int projectId)
 {
     // Insert costing sheet Subcontractors
     ProjectCombinedCostingSheetSubcontractorsGateway projectCostingSheetSubcontractorsGateway = new ProjectCombinedCostingSheetSubcontractorsGateway(null);
     projectCostingSheetSubcontractorsGateway.Insert(costingSheetId, subcontractorID, refId, unitOfMeasurement, quantity, costCad, totalCostCad, costUsd, totalCostUsd, deleted, companyId, startDate, endDate, comment, projectId);
 }
 /// <summary>
 /// UpdateDirect
 /// </summary>
 /// <param name="costingSheetId">costingSheetId</param>
 /// <param name="subcontractorID">subcontractorID</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="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>
 public void UpdateDirect(int costingSheetId, int subcontractorID, int refId, string originalUnitOfMeasurement, double originalQuantity, decimal originalCostCad, decimal originalTotalCostCad, decimal originalCostUsd, decimal originalTotalCostUsd, bool originalDeleted, int originalCompanyId, DateTime originalStartDate, DateTime originalEndDate, string newUnitOfMeasurement, double newQuantity, decimal newCostCad, decimal newTotalCostCad, decimal newCostUsd, decimal newTotalCostUsd, bool newDeleted, int newCompanyId, DateTime newStartDate, DateTime newEndDate)
 {
     ProjectCombinedCostingSheetSubcontractorsGateway projectCostingSheetSubcontractorsGateway = new ProjectCombinedCostingSheetSubcontractorsGateway(null);
     projectCostingSheetSubcontractorsGateway.Update(costingSheetId, subcontractorID, refId, originalUnitOfMeasurement, originalQuantity, originalCostCad, originalTotalCostCad, originalCostUsd, originalTotalCostUsd, originalDeleted, originalCompanyId, originalStartDate, originalEndDate, newUnitOfMeasurement, newQuantity, newCostCad, newTotalCostCad, newCostUsd, newTotalCostUsd, newDeleted, newCompanyId, newStartDate, newEndDate);
 }