/// <summary> /// Deprecated Method for adding a new object to the Storehouse EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStorehouse(Storehouse storehouse) { base.AddObject("Storehouse", storehouse); }
/// <summary> /// Create a new Storehouse object. /// </summary> /// <param name="storehouseID">Initial value of the StorehouseID property.</param> /// <param name="name">Initial value of the Name property.</param> public static Storehouse CreateStorehouse(global::System.Int32 storehouseID, global::System.String name) { Storehouse storehouse = new Storehouse(); storehouse.StorehouseID = storehouseID; storehouse.Name = name; return storehouse; }