Is there a way to synchronize local storage with Entity Framework?
是否有一种方法可以使本地存储与实体框架同步?
What I'm thinking about is for example the following:
举个例子,我在想的是
A user is completing a wizard in her browser. All necessary data is stored and validated localy based on the entities and validations defined in Entity Framework. In the last step, all this data is transfered from the browser to the server and saved to the database (by EF).
用户在浏览器中完成向导。根据实体框架中定义的实体和验证,存储和验证所有必要的数据。在最后一步中,所有这些数据从浏览器转移到服务器并保存到数据库(通过EF)。
Is there a library for this? Is it even possible at all?
这里有图书馆吗?甚至可能吗?
1 个解决方案
#1
2
You could use Breeze. This will let you create entities in javascript and sync them with EF.
你可以用微风。这将允许您在javascript中创建实体并与EF同步。
#1
2
You could use Breeze. This will let you create entities in javascript and sync them with EF.
你可以用微风。这将允许您在javascript中创建实体并与EF同步。