Hello,
A DBML generated with VisualStudio may have Columns without Member attribute,
in this case DMetal crashes. When Member is not specified this is the Name
attribute that must be used.
Moreover, when using a custom class to match SQL type, the attribute Type is
not recognized by DBMetal. In CodeDomGenerator.GenerateTableClass() the
fieldType is null.
When creating the CodeBinaryOperatorExpression condition we can test if
fieldType is null and if column type's name stars with "global".
Regards.
Ghislain
Original issue reported on code.google.com by ghislain...@gmail.com on 2 Nov 2010 at 12:02
Original issue reported on code.google.com by
ghislain...@gmail.com
on 2 Nov 2010 at 12:02Attachments: