simple entity update getting stuck in oci dll

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
kussaued
Posts: 7
Joined: Fri 08 Jul 2011 06:39

simple entity update getting stuck in oci dll

Post by kussaued » Fri 08 Jul 2011 06:58

This code works fine:

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();
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):

Code: Select all

TwinTagEntities entityContext2 = new Entities.TwinTagEntities();
Entities.ACHSE wagen2 = (from achse in entityContext2.ACHSEs select achse).First();
wagen2.RECORDSTATUS = 0;
entityContext2.SaveChanges();
The only difference I see is the usage of a fully qualified name in example one
Entities.ACHSE wagen3 =
instead of
MyCompany.Entities.ACHSE wagen2 =
Do you got any idea what could be the cause of this behavior or any advice on how to further debug this issue?

Thanks for any help
  • Visual Studio 2010 in a C#/WPF project
    .NET framework 3.5

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Fri 08 Jul 2011 10:18

Could you please send us a test project illustrating the reported behaviour?
This is unexpected behaviour at the first sight.

Post Reply