Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Latches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToLatches(Latch latch)
 {
     base.AddObject("Latches", latch);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Latch object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="latchParent">Initial value of the LatchParent property.</param>
 public static Latch CreateLatch(global::System.Int32 id, global::System.String code, global::System.Int32 latchParent)
 {
     Latch latch = new Latch();
     latch.Id = id;
     latch.Code = code;
     latch.LatchParent = latchParent;
     return latch;
 }