Base solution for your next web application
Open Closed

Create View entity #7241


User avatar
0
nathaliewehbe created

Hi I am trying to create view in the database based on inner join between some table how can I create view in the asp,net core using dbcontext and the order of asp.net zero? thanks


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    see: https://aspnetboilerplate.com/Pages/Documents/Articles/Using-Stored-Procedures,-User-Defined-Functions-and-Views/index.html#DocView

  • User Avatar
    0
    nathaliewehbe created

    this link it's not helpful aready I saw it, Can you please send me how to create view from asp.net zero and I can order and paging on the return value of the view

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can also take a look at https://docs.microsoft.com/en-us/ef/core/modeling/query-types. For paging and sorting, you just need to add parameters to your View.