This project is read-only.

Entity Framework Implementation

Sep 24, 2011 at 2: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

Sep 24, 2011 at 4:21 PM


Fixed in 8289

seems like EntityFramework4 works

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

Sep 25, 2011 at 12:31 PM

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

Sep 25, 2011 at 12:56 PM

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