I have a view using group by statement on it. Because of that, view does not have a primary key column.
In EF, your tables and views need to have a primary key or id column. As I search To force entity framework to use a column as a primary key, use ISNULL. This is a solution for sql but I am using Oracle database.
So that I try to use ISNULL() equivalent NVL() in Oracle but it did not solve the problem.
The error log in the edmx file is below: The table/view 'TRANSFERS' does not have a primary key defined and no valid primary key could be inferred. This table/view has been excluded. To use the entity, you will need to review your schema, add the correct keys, and uncomment it
Thanks