views:

37

answers:

0

Hi, I'm using Entity Framework with stored procedures mapped to insert, update and delete operations. My problem is that for example the insert procedure accepts not only columns of the entity but also additional column which is only needed for the insert procedure do it's logic.

I've tried adding property to the model via VisualStudio EF editor but there was an error that "The property X is not mapped".

Adding property in a partial class didn't solve my problem because I've couldn't map it to the insert procedure.

Does anybody know how to solve this problem?