Quantcast
Channel: Entity Framework not updating
Browsing latest articles
Browse All 8 View Live

Re: Entity Framework not updating

Since you are already grabbing the actual entity from the context on this line : var agent = context.Agents.Where(a => a.Agent_id== agentGuid).FirstOrDefault<Agent>();I am wondering if you...

View Article



Re: Entity Framework not updating

No exception is thrown. It works well but doesn't update the DB

View Article

Re: Entity Framework not updating

No problem :)Sometimes checking out the details of the exception (if one occurs) can make solving issues like this much easier.

View Article

Re: Entity Framework not updating

Thanks. That's the problem. There's no error. I stepped through the code and it executed perfectly. Issue is no change happens to the Database.

View Article

Re: Entity Framework not updating

Thanks Rion. That's the problem. There's no error. I stepped through the code and it executed perfectly. Issue is no change happens to the Database.

View Article


Re: Entity Framework not updating

Could you state exactly what the error is that you are encountering as there could be a variety of things going on within the database that we would not have access to?Consider placing a breakpoint and...

View Article

Re: Entity Framework not updating

remove the try/catch and say the error

View Article

Entity Framework not updating

I don't know what the issue is. My EF is no longer updating that table. The code is running fine but no changes are commited to the database table. Here's my codeprotected void...

View Article

Browsing latest articles
Browse All 8 View Live




Latest Images