Search Functionality for Crud operation
Loading
Search Functionality for Crud operation
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sam HobbsPosted Oct 27, 2023, 5:48 PM
CRUD is not a single operation, it is a combination of create, replace, update and delete. They all use something else, typically SQL, to do what they do. SQL can also be used to do searches, the most common use of SQL.
In .Net LInQ can be used to search.
How to implement search for your applicaiton depends on the framework, if any, you are using and the requirements of the search. Complex searches require more complicated solutions than simple searches.
If none of the existing responses help then if you can describe your requirements better then you are more likely to get more relevant answers.
Jignesh KumarPosted Oct 27, 2023, 10:18 AM
Helo Jangama,
Please refer this link which will hlep you out,
https://www.c-sharpcorner.com/article/implement-crud-operations-with-sorting-searching-and-paging-using-ef-core-in-as/
Tahir AnsariPosted Oct 27, 2023, 5:30 AM
Create a DbContext
Controller: Create a controller with CRUD actions, including a search action.