Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oracle materialized view with Entity Framework model

Is it possible to query Oracle materialized view with Entity Framework model using linq?

like image 331
eozcan Avatar asked Feb 03 '15 15:02

eozcan


1 Answers

Yes. From the Entity Framework's perspective, a materialized view is a table. The only caveat is that to generate the model from the materialized view, the materialized view must have a non-nullable column that could be used as the primary key.

like image 58
Igor Pashchuk Avatar answered Nov 11 '22 16:11

Igor Pashchuk