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