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