Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 


Different OData Query options in ASP.NET Core WebAPI?
Question Posted on 13 Jun 2021

Home >> DotNet >> ASP.NET >> Different OData Query options in ASP.NET Core WebAPI?




Different OData Query options in ASP.NET Core WebAPI?
Below are the different OData query options in ASP.NET core WebAPI
(1)$orderby:-With the help of orderby we can sorts the fetched record in ascending or descending orders.
(2)$select:-Here we can select columns or properties in result set. And we can specifies which attributes or properties include in fetched result.
(3)$skip:-From skip we can skip number of records or results. To understand we take example if we want to skip first 50 records from database then we can use Skip keyword.
(4)$top:-With the help of top we will fetch top n records for example if we want to fetch top 10 records then we will use top keyword.
(5)$expand:-Here we will expands the related domain entities of the fetched entities.
(6)$filter:-Here we will apply some filter on the result set and it is like where clause of LINQ.
(7)$inlinecount:-Here we use inlinecount query option for using pagination on the client-side. It tells the count of total entities fetched from the server to the client.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Use of Calendar control in dotnet with code
How to improve Front End UI performance of dotnet web application?
File upload in dotnet
reverse a string
function of garbage collector






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |