// ////////////////////////////////////////////////////////////////////////
 // PUBLIC METHODS
 //
 /// <summary>
 /// InsertDirect
 /// </summary>
 /// <param name="projectId">projectId</param>
 /// <param name="refId">refId</param>
 /// <param name="insuranceCompanyId">insuranceCompanyId</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 insuranceCompanyId, DateTime date, decimal rateCad, decimal rateUsd, string comment, bool deleted, int companyId)
 {
     ActualCostsInsuranceCompaniesCostsGateway actualCostsSubcontractorCostsGateway = new ActualCostsInsuranceCompaniesCostsGateway(null);
     actualCostsSubcontractorCostsGateway.Insert(projectId, refId, insuranceCompanyId, date, rateCad, rateUsd, comment, deleted, companyId);
 }
 /// <summary>
 /// UpdateDirect
 /// </summary>
 /// <param name="originalProjectId">originalProjectId</param>
 /// <param name="originalRefId">originalRefId</param>        
 /// <param name="originalInsuranceCompanyId">originalInsuranceCompanyId</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="newInsuranceCompanyId">newInsuranceCompanyId</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 originalInsuranceCompanyId, DateTime originalDate, decimal originalRateCad, decimal originalRateUsd,  string originalComment, bool originalDeleted, int originalCompanyId, int newProjectId, int newRefId, int newInsuranceCompanyId, DateTime newDate, decimal newRateCad,  decimal newRateUsd, string newComment, bool newDeleted, int newCompanyId)
 {
     ActualCostsInsuranceCompaniesCostsGateway actualCostsSubcontractorCostsGateway = new ActualCostsInsuranceCompaniesCostsGateway(null);
     actualCostsSubcontractorCostsGateway.Update(originalProjectId, originalRefId, originalInsuranceCompanyId, originalDate, originalRateCad, originalRateUsd, originalComment, originalDeleted, originalCompanyId, newProjectId, newRefId, newInsuranceCompanyId, 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)
 {
     ActualCostsInsuranceCompaniesCostsGateway actualCostsSubcontractorCostsGateway = new ActualCostsInsuranceCompaniesCostsGateway(null);
     actualCostsSubcontractorCostsGateway.Delete(projectId, refId, companyId);
 }