You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create a database with a forgeinkey name with a non-ascii character in it.
2. Run DBMetal against the db.
What is the expected output? What do you see instead?
The result dbml file contains weired casing in the members attribute of the
association items.
What version of the product are you using? On what operating system?
DBlinq 0.92 against a sql server 2008
Original issue reported on code.google.com by carl.hoerberg on 11 Mar 2010 at 7:30
The text was updated successfully, but these errors were encountered:
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 issue reported on code.google.com by
carl.hoerberg
on 11 Mar 2010 at 7:30The text was updated successfully, but these errors were encountered: