/// <summary> /// Create a new AdminTable object. /// </summary> /// <param name="indexNumber">Initial value of the IndexNumber property.</param> /// <param name="itemImage">Initial value of the ItemImage property.</param> /// <param name="itemName">Initial value of the ItemName property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="quantity">Initial value of the Quantity property.</param> /// <param name="price">Initial value of the Price property.</param> public static AdminTable CreateAdminTable(global::System.Int32 indexNumber, global::System.Byte[] itemImage, global::System.String itemName, global::System.String description, global::System.Int32 quantity, global::System.Double price) { AdminTable adminTable = new AdminTable(); adminTable.IndexNumber = indexNumber; adminTable.ItemImage = itemImage; adminTable.ItemName = itemName; adminTable.Description = description; adminTable.Quantity = quantity; adminTable.Price = price; return(adminTable); }
/// <summary> /// Deprecated Method for adding a new object to the AdminTables EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAdminTables(AdminTable adminTable) { base.AddObject("AdminTables", adminTable); }