/// <summary> /// Deprecated Method for adding a new object to the ItemManufacturers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemManufacturers(ItemManufacturer itemManufacturer) { base.AddObject("ItemManufacturers", itemManufacturer); }
/// <summary> /// Create a new ItemManufacturer object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="boxWidth">Initial value of the BoxWidth property.</param> /// <param name="boxHeight">Initial value of the BoxHeight property.</param> /// <param name="boxLength">Initial value of the BoxLength property.</param> public static ItemManufacturer CreateItemManufacturer(global::System.Int32 id, global::System.Double boxWidth, global::System.Double boxHeight, global::System.Double boxLength) { ItemManufacturer itemManufacturer = new ItemManufacturer(); itemManufacturer.ID = id; itemManufacturer.BoxWidth = boxWidth; itemManufacturer.BoxHeight = boxHeight; itemManufacturer.BoxLength = boxLength; return itemManufacturer; }