Example #1
0
 /// <summary>
 /// Create a new MitigationUnit object.
 /// </summary>
 /// <param name="mitigationUnitId">Initial value of the MitigationUnitId property.</param>
 /// <param name="mitigationId">Initial value of the MitigationId property.</param>
 /// <param name="divisionId">Initial value of the DivisionId property.</param>
 public static MitigationUnit CreateMitigationUnit(global::System.Int32 mitigationUnitId, global::System.Int32 mitigationId, global::System.Int32 divisionId)
 {
     MitigationUnit mitigationUnit = new MitigationUnit();
     mitigationUnit.MitigationUnitId = mitigationUnitId;
     mitigationUnit.MitigationId = mitigationId;
     mitigationUnit.DivisionId = divisionId;
     return mitigationUnit;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MitigationUnits EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMitigationUnits(MitigationUnit mitigationUnit)
 {
     base.AddObject("MitigationUnits", mitigationUnit);
 }