Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EntityState.Detached
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Entity Framework
Title:
EntityState.Detached
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01619307
Message ID:
01619307
Views:
33
Hi everybody,

I am wondering why would our EntityState will always be Detached?

We're not using the model classes directly in our client part of the application. In our methods we use ModelView and convert model class to a ModelView through AutoMapper and back when sending changes back to the backend.

Is it what makes the entities detached and so that's why we're manually setting the state to Modified?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform