/// <summary> /// Deprecated Method for adding a new object to the PlaceLocations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlaceLocations(PlaceLocation placeLocation) { base.AddObject("PlaceLocations", placeLocation); }
/// <summary> /// Create a new PlaceLocation object. /// </summary> /// <param name="locationId">Initial value of the LocationId property.</param> /// <param name="location">Initial value of the Location property.</param> /// <param name="regionId">Initial value of the RegionId property.</param> /// <param name="region">Initial value of the Region property.</param> /// <param name="territoryId">Initial value of the TerritoryId property.</param> public static PlaceLocation CreatePlaceLocation(global::System.Int32 locationId, global::System.String location, global::System.Int32 regionId, global::System.String region, global::System.Int32 territoryId) { PlaceLocation placeLocation = new PlaceLocation(); placeLocation.LocationId = locationId; placeLocation.Location = location; placeLocation.RegionId = regionId; placeLocation.Region = region; placeLocation.TerritoryId = territoryId; return placeLocation; }