/// <summary>
 /// Deprecated Method for adding a new object to the RiskTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRiskTypes(RiskType riskType)
 {
     base.AddObject("RiskTypes", riskType);
 }
 /// <summary>
 /// Create a new RiskType object.
 /// </summary>
 /// <param name="riskTypeId">Initial value of the RiskTypeId property.</param>
 /// <param name="riskGroupId">Initial value of the RiskGroupId property.</param>
 /// <param name="riskTypeName">Initial value of the RiskTypeName property.</param>
 public static RiskType CreateRiskType(global::System.Int32 riskTypeId, global::System.Int32 riskGroupId, global::System.String riskTypeName)
 {
     RiskType riskType = new RiskType();
     riskType.RiskTypeId = riskTypeId;
     riskType.RiskGroupId = riskGroupId;
     riskType.RiskTypeName = riskTypeName;
     return riskType;
 }