Exemplo n.º 1
0
 /// <summary>
 /// Create a new Batch object.
 /// </summary>
 /// <param name="batchID">Initial value of the BatchID property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static Batch CreateBatch(global::System.Int32 batchID, global::System.String description, global::System.Boolean status)
 {
     Batch batch = new Batch();
     batch.BatchID = batchID;
     batch.Description = description;
     batch.Status = status;
     return batch;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Batches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBatches(Batch batch)
 {
     base.AddObject("Batches", batch);
 }