/// <summary> /// Deprecated Method for adding a new object to the Shelves EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToShelves(Shelf shelf) { base.AddObject("Shelves", shelf); }
/// <summary> /// Create a new Shelf object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static Shelf CreateShelf(global::System.Int32 id) { Shelf shelf = new Shelf(); shelf.ID = id; return shelf; }