amagad this forum does not work in chrome at all.
Lets try again in Microsoft Exploder ( which is slow as molasses )
I ran some tests before surrounding the following (common) scenario:
1: SomeEntity newEntity = EntityManager.DefaultManager.CreateEntity<SomeEntity>();
2: newEntity.someRelatedEntity = EntityManager.DefaultManager.CreateEntity<SomeOtherEntity>();
3: EntityManager.SaveChanges();
I get the following exception at line 2: Null or pending entities cannot be modified
I might be confused, but I spesifically checked before if devforce can handle such behaviour and it could. Now (6.06) it cant.
What am I doing wrong? Both entities recieve their PKs from the database ( they are IDENTITIES).
Edited by pompomJuice - 27-Oct-2010 at 3:37am