/// <summary> /// Create a new tblBatch object. /// </summary> /// <param name="batchID">Initial value of the BatchID property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static tblBatch CreatetblBatch(global::System.Int32 batchID, global::System.Boolean isActive) { tblBatch tblBatch = new tblBatch(); tblBatch.BatchID = batchID; tblBatch.IsActive = isActive; return tblBatch; }
/// <summary> /// Deprecated Method for adding a new object to the tblBatches EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblBatches(tblBatch tblBatch) { base.AddObject("tblBatches", tblBatch); }