/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Batches EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBatches(Batch batch) { base.AddObject("Batches", batch); }