c# - How to save only a specific item using Entity Framework? -
i'm using ef4 in web application.
currently, when want save specific item, change properties, , call savechanges()
.
but changes in application committed.
how can commit changes of specific item?
create new context , attach specific item new context. call savechanges()
of new context.
Comments
Post a Comment