/// <summary>
 /// Create a new RiskType object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="typeOfRisk">Initial value of the TypeOfRisk property.</param>
 /// <param name="inUse">Initial value of the InUse property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static RiskType CreateRiskType(global::System.Int32 id, global::System.String typeOfRisk, global::System.Boolean inUse, global::System.Byte[] rowVersion)
 {
     RiskType riskType = new RiskType();
     riskType.Id = id;
     riskType.TypeOfRisk = typeOfRisk;
     riskType.InUse = inUse;
     riskType.RowVersion = rowVersion;
     return riskType;
 }
 /// <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);
 }