/// <summary> /// There are no comments for ApplyVAT in the schema. /// </summary> public static global::Microsoft.OData.Client.DataServiceActionQuerySingle <int> ApplyVAT(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::ProductService.Models.Product> source, int vat, global::ProductService.Models.City manufacturedIn, global::System.Collections.Generic.ICollection <global::ProductService.Models.City> availableCities) { if (!source.IsComposable) { throw new global::System.NotSupportedException("The previous function is not composable."); } return(new global::Microsoft.OData.Client.DataServiceActionQuerySingle <int>(source.Context, source.AppendRequestUri("Default.ApplyVAT"), new global::Microsoft.OData.Client.BodyOperationParameter("vat", vat), new global::Microsoft.OData.Client.BodyOperationParameter("manufacturedIn", manufacturedIn), new global::Microsoft.OData.Client.BodyOperationParameter("availableCities", availableCities))); }
public void AddToCities(global::ProductService.Models.City city) { base.AddObject("Cities", city); }