我有一个使用Insert
方法的存储过程的实体。插入操作正常,但我目前无法删除记录。我得到这个错误:EF5存储过程问题
System.Data.Entity.Infrastructure.DbUpdateException: System.Data.Entity.Infrastructure.DbUpdateException: Cannot find the DeleteFunctionMapping for EntityType 'LoanDetail' in the mapping file. ---> System.Data.UpdateException: Cannot find the DeleteFunctionMapping for EntityType 'LoanDetail' in the mapping file.
我在Julie Lerman的书中读到,不再需要指定所有方法的特效。这是4.x版本的一个特性,它现在又被收紧了吗?