/// <summary> /// Deprecated Method for adding a new object to the tblInventorySerials EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblInventorySerials(tblInventorySerials tblInventorySerials) { base.AddObject("tblInventorySerials", tblInventorySerials); }
/// <summary> /// Create a new tblInventorySerials object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="costCentreId">Initial value of the CostCentreId property.</param> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="documentId">Initial value of the DocumentId property.</param> /// <param name="from">Initial value of the From property.</param> /// <param name="to">Initial value of the To property.</param> /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param> /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param> /// <param name="iM_Status">Initial value of the IM_Status property.</param> public static tblInventorySerials CreatetblInventorySerials(global::System.Guid id, global::System.Guid costCentreId, global::System.Guid productId, global::System.Guid documentId, global::System.String from, global::System.String to, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status) { tblInventorySerials tblInventorySerials = new tblInventorySerials(); tblInventorySerials.Id = id; tblInventorySerials.CostCentreId = costCentreId; tblInventorySerials.ProductId = productId; tblInventorySerials.DocumentId = documentId; tblInventorySerials.From = from; tblInventorySerials.To = to; tblInventorySerials.IM_DateCreated = iM_DateCreated; tblInventorySerials.IM_DateLastUpdated = iM_DateLastUpdated; tblInventorySerials.IM_Status = iM_Status; return tblInventorySerials; }