/// <summary> /// Create a new BatchDetail object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="batchID">Initial value of the BatchID property.</param> /// <param name="reelID">Initial value of the ReelID property.</param> /// <param name="status">Initial value of the Status property.</param> public static BatchDetail CreateBatchDetail(global::System.Int32 id, global::System.Int32 batchID, global::System.Int32 reelID, global::System.Boolean status) { BatchDetail batchDetail = new BatchDetail(); batchDetail.ID = id; batchDetail.BatchID = batchID; batchDetail.ReelID = reelID; batchDetail.Status = status; return batchDetail; }
/// <summary> /// Deprecated Method for adding a new object to the BatchDetails EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBatchDetails(BatchDetail batchDetail) { base.AddObject("BatchDetails", batchDetail); }