DeleteObject method is missing in Entity Framework 4.1
- by bobetko
This is driving me crazy. I am getting error that
object doesn't contain definition for DeleteObject.
Here is my line of code that produces an error:
ctx.Tanks.DeleteObject(Tank);
I tried to reference another object from another edmx file that my friend has created and then everything is fine, DeleteObject exists. I don't think I miss any references in my project.
And project itself contains edmx file and I used DBContext to create POCOs.
Any ideas?