Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the MaintCheck EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMaintCheck(MaintCheck maintCheck)
 {
     base.AddObject("MaintCheck", maintCheck);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new MaintCheck object.
 /// </summary>
 /// <param name="maintCheckId">Initial value of the MaintCheckId property.</param>
 /// <param name="maintCheckName">Initial value of the MaintCheckName property.</param>
 /// <param name="interval">Initial value of the Interval property.</param>
 /// <param name="intervalTypeId">Initial value of the IntervalTypeId property.</param>
 public static MaintCheck CreateMaintCheck(global::System.Int32 maintCheckId, global::System.String maintCheckName, global::System.Int32 interval, global::System.Int32 intervalTypeId)
 {
     MaintCheck maintCheck = new MaintCheck();
     maintCheck.MaintCheckId = maintCheckId;
     maintCheck.MaintCheckName = maintCheckName;
     maintCheck.Interval = interval;
     maintCheck.IntervalTypeId = intervalTypeId;
     return maintCheck;
 }