Thank you Halo_Four, now I can do entity SQL query invoking a store procedure in a code first generated database.
However, I cannot use the MigrateDatabaseToLatestVersion as for the database migration since it will detect schema change in the published sql store function.
When will EF evolve to fix this incompatibility? Or is there other ways to make both (Entity SQL query invoking store function and code first DB migration) working with EF 6.1?
However, I cannot use the MigrateDatabaseToLatestVersion as for the database migration since it will detect schema change in the published sql store function.
When will EF evolve to fix this incompatibility? Or is there other ways to make both (Entity SQL query invoking store function and code first DB migration) working with EF 6.1?