// ////////////////////////////////////////////////////////////////////////
 // PUBLIC METHODS
 //
 /// <summary>
 /// InsertDirect
 /// </summary>
 /// <param name="projectId">projectId</param>
 /// <param name="refId">refId</param>
 /// <param name="bondingCompanyId">bondingCompanyId</param>        
 /// <param name="date">date</param>        
 /// <param name="rateCad">rateCad</param>        
 /// <param name="rateUsd">rateUsd</param>        
 /// <param name="comment">comment</param>
 /// <param name="deleted">deleted</param>
 /// <param name="companyId">companyId</param>        
 public void InsertDirect(int projectId, int refId, int bondingCompanyId, DateTime date, decimal rateCad, decimal rateUsd, string comment, bool deleted, int companyId)
 {
     ActualCostsBondingCompaniesCostsGateway actualCostsSubcontractorCostsGateway = new ActualCostsBondingCompaniesCostsGateway(null);
     actualCostsSubcontractorCostsGateway.Insert(projectId, refId, bondingCompanyId, date, rateCad, rateUsd, comment, deleted, companyId);
 }
 /// <summary>
 /// UpdateDirect
 /// </summary>
 /// <param name="originalProjectId">originalProjectId</param>
 /// <param name="originalRefId">originalRefId</param>        
 /// <param name="originalBondingCompanyId">originalBondingCompanyId</param>
 /// <param name="originalDate">originalDate</param>                
 /// <param name="originalRateCad">originalRateCad</param>
 /// <param name="originalRateUsd">originalRateUsd</param>
 /// <param name="originalComment">originalComment</param>
 /// <param name="originalDeleted">originalDeleted</param>
 /// <param name="originalCompanyId">originalCompanyId</param>        
 /// <param name="newProjectId">newProjectId</param>
 /// <param name="newRefId">newRefId</param>              
 /// <param name="newBondingCompanyId">newBondingCompanyId</param>
 /// <param name="newDate">newDate</param>
 /// <param name="newRateCad">newRateCad</param>
 /// <param name="newRateUsd">newRateUsd</param>        
 /// <param name="newTotal">newTotal</param>
 /// <param name="newComment">newComment</param>
 /// <param name="newDeleted">newDeleted</param>
 /// <param name="newCompanyId">newCompanyId</param>    
 public void UpdateDirect(int originalProjectId, int originalRefId, int originalBondingCompanyId, DateTime originalDate, decimal originalRateCad, decimal originalRateUsd,  string originalComment, bool originalDeleted, int originalCompanyId, int newProjectId, int newRefId, int newBondingCompanyId, DateTime newDate, decimal newRateCad,  decimal newRateUsd, string newComment, bool newDeleted, int newCompanyId)
 {
     ActualCostsBondingCompaniesCostsGateway actualCostsSubcontractorCostsGateway = new ActualCostsBondingCompaniesCostsGateway(null);
     actualCostsSubcontractorCostsGateway.Update(originalProjectId, originalRefId, originalBondingCompanyId, originalDate, originalRateCad, originalRateUsd, originalComment, originalDeleted, originalCompanyId, newProjectId, newRefId, newBondingCompanyId, newDate, newRateCad, newRateUsd, newComment, newDeleted, newCompanyId);
 }
 /// <summary>
 /// Delete
 /// </summary>
 /// <param name="projectId">projectId</param>
 /// <param name="refId">refId</param>
 /// <param name="companyId">companyId</param>
 public void DeleteDirect(int projectId, int refId, int companyId)
 {
     ActualCostsBondingCompaniesCostsGateway actualCostsSubcontractorCostsGateway = new ActualCostsBondingCompaniesCostsGateway(null);
     actualCostsSubcontractorCostsGateway.Delete(projectId, refId, companyId);
 }