/// <summary> /// Deprecated Method for adding a new object to the Area EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToArea(Area area) { base.AddObject("Area", area); }
/// <summary> /// Create a new Area object. /// </summary> /// <param name="areaId">Initial value of the AreaId property.</param> /// <param name="cityId">Initial value of the CityId property.</param> /// <param name="placeId">Initial value of the PlaceId property.</param> /// <param name="name">Initial value of the Name property.</param> public static Area CreateArea(global::System.String areaId, global::System.Int32 cityId, global::System.String placeId, global::System.String name) { Area area = new Area(); area.AreaId = areaId; area.CityId = cityId; area.PlaceId = placeId; area.Name = name; return area; }