This question is locked. New answers and comments are not allowed.
So, once again me...
My last domain model which ended in chaos had no problem with enumerations as datatype. My new model thinks "hey would should I do it now?!"...
I have different enumerations, even in other assemblies, and for every enumerations VS2012 tells me:
The type for member with name 'EnumType' of the 'Model' persistent class is not a valid mapping for its column.
But hey... The column is a number field and in the xml I can find the followin lines:
So what's the problem here?!
My last domain model which ended in chaos had no problem with enumerations as datatype. My new model thinks "hey would should I do it now?!"...
I have different enumerations, even in other assemblies, and for every enumerations VS2012 tells me:
The type for member with name 'EnumType' of the 'Model' persistent class is not a valid mapping for its column.
But hey... The column is a number field and in the xml I can find the followin lines:
<
orm:field
name
=
"_result"
property
=
"Result"
uniqueId
=
"42971877-a54d-46e8-a12e-b361704d699c"
type
=
"BeLib.Mail.MailTransmissionCode, BeLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
>
<
orm:column
name
=
"Result"
sql-type
=
"number"
nullable
=
"false"
length
=
"0"
scale
=
"0"
converter
=
"OpenAccessRuntime.Data.IntConverter"
ado-type
=
"Int32"
/>
</
orm:field
>
So what's the problem here?!