/// <summary>
 /// Deprecated Method for adding a new object to the RiskAssessmentHazards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRiskAssessmentHazards(RiskAssessmentHazard riskAssessmentHazard)
 {
     base.AddObject("RiskAssessmentHazards", riskAssessmentHazard);
 }
 /// <summary>
 /// Create a new RiskAssessmentHazard object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="hazardDescription">Initial value of the HazardDescription property.</param>
 /// <param name="hazardType_RiskAssessmentHazard">Initial value of the HazardType_RiskAssessmentHazard property.</param>
 /// <param name="riskAssessmentHazard_RiskAssessment">Initial value of the RiskAssessmentHazard_RiskAssessment property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static RiskAssessmentHazard CreateRiskAssessmentHazard(global::System.Int32 id, global::System.String hazardDescription, global::System.Int32 hazardType_RiskAssessmentHazard, global::System.Int32 riskAssessmentHazard_RiskAssessment, global::System.Byte[] rowVersion)
 {
     RiskAssessmentHazard riskAssessmentHazard = new RiskAssessmentHazard();
     riskAssessmentHazard.Id = id;
     riskAssessmentHazard.HazardDescription = hazardDescription;
     riskAssessmentHazard.HazardType_RiskAssessmentHazard = hazardType_RiskAssessmentHazard;
     riskAssessmentHazard.RiskAssessmentHazard_RiskAssessment = riskAssessmentHazard_RiskAssessment;
     riskAssessmentHazard.RowVersion = rowVersion;
     return riskAssessmentHazard;
 }