How to update an Oracle view from Entity Framework?

My EF schema is containing views, and it is bound with an Oracle database. Also, I do not have any control over the schema of my Oracle database, I am allowed to perform only DML operations over the views/ tables. I can see the data getting loaded in my MVC view. There is another view, which loads individual record, and there user can change any field, and can hit the Save to update the underlying view. I know this is not as straightforward as updating tables, and so it is giving an error of operation state. Could anyone please guide me a proper way to achieve this?


我们需要更改EDMX文件的XML,并且应该在概念模型的章节中将相应视图的类型更改为表格。

链接地址: http://www.djcxy.com/p/33578.html

上一篇: 实体框架创建更新查询不必要

下一篇: 如何从实体框架更新Oracle视图?