simple entity update getting stuck in oci dll
Posted: Fri 08 Jul 2011 06:58
This code works fine:
While this code placed just after the above call will never return from the SaveChanges() call. According to my debugger it is stuck in an OCI execute statement in a OCI dll (got a using MyCompany.Entities in my code):
The only difference I see is the usage of a fully qualified name in example one
Thanks for any help
Code: Select all
TwinTagEntities entityContext = new Entities.TwinTagEntities();
MyCompany.Entities.ACHSE wagen = (from achse in entityContext.ACHSEs select achse).First();
wagen.RECORDSTATUS = 0;
entityContext.SaveChanges();
Code: Select all
TwinTagEntities entityContext2 = new Entities.TwinTagEntities();
Entities.ACHSE wagen2 = (from achse in entityContext2.ACHSEs select achse).First();
wagen2.RECORDSTATUS = 0;
entityContext2.SaveChanges();
instead ofEntities.ACHSE wagen3 =
Do you got any idea what could be the cause of this behavior or any advice on how to further debug this issue?MyCompany.Entities.ACHSE wagen2 =
Thanks for any help
- Visual Studio 2010 in a C#/WPF project
.NET framework 3.5