this is the first time that I use MyGeneration to generate dOOdads BE. Thanks for the great software!
But ... we've got a problem ...
I get the error:
- Code: Select all
error BC30456: \"GetSByte\" isn't a Member of \"MyGeneration.dOOdads.MySql4Entity\".
Return MyBase.GetSByte(ColumnNames.Active)
If I change the mapping to TINYINT to Byte there is no error while compile time. (MySQL 2 Language Mapping / MySql Connector.NET VB.NET)
Now I get an error on runtime:
- Code: Select all
System Invalid Cast Exception: Invalid Type Casting from Type 'SByte' to Type 'Byte'
EDIT:
The Debugger shows the error in BusinessEntity.vb at:
- Code: Select all
' Byte (real)
Protected Function GetByte(ByVal columnName As String) As Byte
Return CType(_dataRow(columnName), Byte)
End Function
What's going wrong?
Thanks for any help!
Andreas
