Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RiskGroups EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRiskGroups(RiskGroup riskGroup)
 {
     base.AddObject("RiskGroups", riskGroup);
 }
Example #2
0
 /// <summary>
 /// Create a new RiskGroup object.
 /// </summary>
 /// <param name="riskGroupId">Initial value of the RiskGroupId property.</param>
 /// <param name="riskCatId">Initial value of the RiskCatId property.</param>
 /// <param name="riskGroupName">Initial value of the RiskGroupName property.</param>
 public static RiskGroup CreateRiskGroup(global::System.Int32 riskGroupId, global::System.Int32 riskCatId, global::System.String riskGroupName)
 {
     RiskGroup riskGroup = new RiskGroup();
     riskGroup.RiskGroupId = riskGroupId;
     riskGroup.RiskCatId = riskCatId;
     riskGroup.RiskGroupName = riskGroupName;
     return riskGroup;
 }