partial void OnInjuryFilingAgencyChanging(global::Microsoft.Dynamics.DataEntities.InjuryFilingAgency value);
public static InjuryIncidentFilingAgency CreateInjuryIncidentFilingAgency(string caseNumber, string filingAgencyId, global::System.DateTimeOffset reportSubmitDateTime, global::Microsoft.Dynamics.DataEntities.InjuryIncident injuryIncident, global::Microsoft.Dynamics.DataEntities.InjuryFilingAgency injuryFilingAgency) { InjuryIncidentFilingAgency injuryIncidentFilingAgency = new InjuryIncidentFilingAgency(); injuryIncidentFilingAgency.CaseNumber = caseNumber; injuryIncidentFilingAgency.FilingAgencyId = filingAgencyId; injuryIncidentFilingAgency.ReportSubmitDateTime = reportSubmitDateTime; if ((injuryIncident == null)) { throw new global::System.ArgumentNullException("injuryIncident"); } injuryIncidentFilingAgency.InjuryIncident = injuryIncident; if ((injuryFilingAgency == null)) { throw new global::System.ArgumentNullException("injuryFilingAgency"); } injuryIncidentFilingAgency.InjuryFilingAgency = injuryFilingAgency; return(injuryIncidentFilingAgency); }