Entity Framework v4 and Firebird
The Beta 1 of Entity Framework v4 (confused with versions?) is out for a while and you may be tempted to check the new features comming. And why not with Firebird.
Good news is, that there’s no breaking change right now I’m aware of. Hence you can easily jump into VS2010, install DDEX and test it. Of course, some new features are now not fully functioning as it’s beta and/or because it’s not nailed down for provider writers (i.e. DDL script generation). But as far as something will be ready, I’ll try my best to get it into Firebird’s provider.
On the other hand, even the new singularize/pluralize function is nice and works with all databases, you still get all names in uppercase, only the added suffixes are lowercase. And that looks even more weird. You can fix it yourself manually or let computer do the work, but still wondering why there isn’t any option to fix this (as uppercased name is default when not quoted according to SQL standard).
Anyway, if you found any problems with EF4, let me know.



There's 6 Comments So Far
August 14th, 2009 at 14:41
Po testovani DDEX som nedostal do Modelu primarne kluce , stale oznaci ako primarny kluc vsetky polozky tabulky a nie len tie stlpce ktore tvoria primarny kluc.
Viete mi poradit?
Dakujem
August 20th, 2009 at 13:10
http://blog.cincura.net/id/230290/#comment-1563
August 20th, 2009 at 14:43
Prepacte ale neporozumel som tomu odkazu ktory odkazuje na dalsie dva odkazy z ktorych jeden mi nefunguje a pri tom druhom nevidim suvislost s problemom.
August 21st, 2009 at 14:48
Uz som pochopil ze je treba novy server kedze sa ta linka rozbehla. No je tam este jeden problem a to pri generovani modelu sa u generovaneho primarneho kluca negeneruje StoreGeneratedPattern=”Identity” takze pri insertoch vznika problem. Je to uz nejako vyriesene? dakujem.
August 21st, 2009 at 14:51
Firebird nema sloupce s identity. A pro generatory/sekvence v triggeru toto nelze jednoznacne detekovat. Doporucuji podivat se na thread “Generated primary key columns in EF” [http://www.nabble.com/Generated-primary-key-columns-in-EF-td24297419.html].
Who Linked To This Post?
Share your thoughts, leave a comment!