tamasflamich/effort — pull request #1 by gius (2014-06-24 23:34:48+00:00)
Title: Enable Effort to work with EF model with function mappings for entity Insert/Update/Delete

I have EF model with stored procedures used to handle entity modifications through function mappings. This caused DbContext.SaveChanges() throwing exception in CommandActionFactory as commandTree was of type DbFunctionCommandTree which is not supported.

I have updated the process of metadata loading to remove information about function mappings. This causes saving changes to go through standard DbModificationCommandTree.

I understand that the result on actual database data can be different when calling a stored procedure compared to simple SQL Insert/Update/Delete statement. However, mocking the DbContext is still very useful and this is the closest I can get without having to mock actual stored procedures.