I upgraded my EntityModel
to version 4.3
using NuGet
.
Now i want to change my EntityObject.State
, but it cant find the .Entry()
method.
The current state is Deleted
.
This is what i want to do:
someObjectContext.Entry(someEntityObject).State = EntityState.Unchanged;
The referances to EntityFramework and EntityFramework.Extended are added.
So, what am i missing?
EDIT
My NuGet
output:
PM> Install-Package EntityFramework -Version 4.3.1
'EntityFramework 4.3.1' already installed.
Data already has a reference to 'EntityFramework 4.3.1'.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…