Concurrency checking in Entity Framework with stored procedures while deleting

Posted by bodziec on Stack Overflow See other posts from Stack Overflow or by bodziec
Published on 2010-04-10T11:07:57Z Indexed on 2010/04/10 11:13 UTC
Read the original article Hit count: 304

Hi,

My UPDATE and DELETE logic are in stored procedures. I've built an entity framework model with mappings to these procedures.

In spUpdate I return the new timestamp column so the EF could detect concurrency conflicts. It works fine.

I have a problem with the spDelete because I don't see mappings for return values in the "delete function" row.

How to check concurrency in this example?

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about stored-procedures