How to save state across requests for an entity in ASP.NET without saving to database using EntityFramework?

后端 未结 3 1033
眼角桃花
眼角桃花 2021-01-14 10:40

I\'m working on a CRUD ASP.NET WebForms web application consisting of a couple of pages in which the user fills in data. My client doesn\'t want to store the entities in the

3条回答
  •  灰色年华
    2021-01-14 10:58

    You can store all objects used in the client application in the Session and then when the user clicks finish you send those objects to a service/method where you can convert them to entities and then submit them to the database.

提交回复
热议问题