public static global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::System.Nullable <int> > Foo7(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::Namespace.Foo.SingleType> _source)
        {
            if (!_source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::System.Nullable <int> >(_source.Context, _source.AppendRequestUri("namespace.foo.foo7")));
        }
Exemplo n.º 2
0
        /// <summary>
        /// There are no comments for @as in the schema.
        /// </summary>
        public static global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::Namespace1.@event> @as(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::Namespace1.@event> source)
        {
            if (!source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::Namespace1.@event>(source.Context, source.AppendRequestUri("Namespace1.as")));
        }
Exemplo n.º 3
0
        /// <summary>
        /// There are no comments for ActionWithParameter in the schema.
        /// </summary>
        public static global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::OverrideOperations.DSC.ET> ActionWithParameter(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::OverrideOperations.DSC.DerivedET> source, string p1)
        {
            if (!source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::OverrideOperations.DSC.ET>(source.Context, source.AppendRequestUri("OverrideOperations.DSC.ActionWithParameter"), new global::Microsoft.OData.Client.BodyOperationParameter("p1", p1)));
        }
        public static global::Microsoft.OData.Client.DataServiceActionQuery ResetDataSource(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::ODataSingletonSample.Fx.Client.Company> source)
        {
            if (!source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuery(source.Context, source.AppendRequestUri("ODataSingletonSample.ResetDataSource")));
        }
Exemplo n.º 5
0
        /// <summary>
        /// There are no comments for TotalProductPrice in the schema.
        /// </summary>
        public static global::Microsoft.OData.Client.DataServiceActionQuerySingle <int> TotalProductPrice(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::UdemyAPIOData.API.Models.Category> source)
        {
            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.TotalProductPrice")));
        }
Exemplo n.º 6
0
        public static global::Microsoft.OData.Client.DataServiceActionQuery Rate(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::ProductsApp.ProductService.Models.Product> source, int Rating)
        {
            if (!source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuery(source.Context, source.AppendRequestUri("ProductService.Rate"), new global::Microsoft.OData.Client.BodyOperationParameter("Rating", Rating)));
        }
Exemplo n.º 7
0
        /// <summary>
        /// There are no comments for UpdateProductName in the schema.
        /// </summary>
        public static global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::Namespace1.Product> UpdateProductName(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::Namespace1.Product> _source, string lastName)
        {
            if (!_source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::Namespace1.Product>(_source.Context, _source.AppendRequestUri("Namespace1.UpdateProductName"), new global::Microsoft.OData.Client.BodyOperationParameter("lastName", lastName)));
        }
Exemplo n.º 8
0
        /// <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)));
        }
Exemplo n.º 9
0
        public static global::Microsoft.OData.Client.DataServiceActionQuerySingle <bool> IsEmailAvailable(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::ODataClientSample.ODataActionSample.Customer> source, string email)
        {
            if (!source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuerySingle <bool>(source.Context, source.AppendRequestUri("Extra.IsEmailAvailable"), new global::Microsoft.OData.Client.BodyOperationParameter("email", email)));
        }
Exemplo n.º 10
0
        /// <summary>
        /// There are no comments for Return in the schema.
        /// </summary>
        public static global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::ODataVerificationService.Models.Movie> Return(this global::Microsoft.OData.Client.DataServiceQuerySingle <global::ODataVerificationService.Models.Movie> source)
        {
            if (!source.IsComposable)
            {
                throw new global::System.NotSupportedException("The previous function is not composable.");
            }

            return(new global::Microsoft.OData.Client.DataServiceActionQuerySingle <global::ODataVerificationService.Models.Movie>(source.Context, source.AppendRequestUri("ODataVerificationService.Models.Return")));
        }