Entity Framework Implementation

Coordinator
Sep 24, 2011 at 1:36 PM

I have problems

 

categories, contragents, acconts are saved but transactions are not saved or updated, this is such a weired situation. I have debugged and found that when updating Entity framework first runs sql command and after that sets Transaction.CategoryId so referential constraint causes exception

Coordinator
Sep 24, 2011 at 3:21 PM

 

Fixed in 8289

seems like EntityFramework4 works

be careful when generating DB from Model
EntityFramework4 uses datetime2 but generates script with datetime

Coordinator
Sep 25, 2011 at 11:31 AM

EF4 mappin classes to csdl gives exception if you have class with same name even if they are in different namespaces so I have seperated SqlCe implementations edmx into another project

Coordinator
Sep 25, 2011 at 11:56 AM

CreateObject didnt automatically ad the object so in New method I call create object and then add it to ObjectSet like AccountSet