Open GoogleCodeExporter opened 9 years ago
Could you give an example of what kind of foreign key name you are using and
what you
consider weird casing?
You could try invoking DbMetal with the "--case=leave".
Original comment by anders...@gmail.com
on 11 Mar 2010 at 11:18
"--case=leave" solved it!
an example would be "FK_Anläggningar_Anläggningskunder" then the resulting
Association
member would be: <Association Name="FK_Anläggningar_Anläggningskunder"
Member="AnLÄGGNInGSkUnD" Storage="_anLäggniNGsKUnD" Type="Anläggningskund"
ThisKey="AnläggningskundID" OtherKey="ID" IsForeignKey="true"
Cardinality="Many" />
Original comment by carl.hoerberg
on 11 Mar 2010 at 1:06
Thanks a lot for responding and for the example.
The problem seems to be that your column name is in Swedish and DbMetal
currently
breaks words based on word lists and only have word lists for English, French
and
German. So I guess it works as designed.
Maybe a way to load a custom word list should be added so rare words and
abbreviations could be handled on a project-by-project basis.
Original comment by anders...@gmail.com
on 11 Mar 2010 at 1:33
Original comment by jonmpr...@gmail.com
on 12 Mar 2010 at 10:28
Original issue reported on code.google.com by
carl.hoerberg
on 11 Mar 2010 at 7:30