/// <summary> /// Deprecated Method for adding a new object to the PlaceServices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlaceServices(PlaceService placeService) { base.AddObject("PlaceServices", placeService); }
/// <summary> /// Create a new PlaceService object. /// </summary> /// <param name="placeId">Initial value of the PlaceId property.</param> /// <param name="service">Initial value of the Service property.</param> public static PlaceService CreatePlaceService(global::System.Int32 placeId, global::System.Byte service) { PlaceService placeService = new PlaceService(); placeService.PlaceId = placeId; placeService.Service = service; return placeService; }