D
David
I am trying to use the SQlDataTypes, instead of the
standard Dot NET datatypes, because I want to be able to
set variables to null if the user chooses to not to input
any data.
This all seemed to work fine until I tried to pass a
variable declared as a sqldatatype into my Data Access
Layer, which is in COM+. This caused the exception...
"The type System.Data.SqlTypes.SqlInt16 in Assembly
System.Data, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 is not marked as
serializable."
So from this exception I would assume that the
SQLDataTypes are not Serilizable, however what seems to
fog the issue some what is that we have another project
which makes use of SQLDataTypes, which failed when trying
to pass the SQLDataType to a compiled com+ project, but if
both the project are in com + succesfully passes the
SQLDataType.
So what I really want to know is are the SQLDataTYpes
serializable or not, if they are not how can I make them
work with COM +?
Thanks In Advance
david
standard Dot NET datatypes, because I want to be able to
set variables to null if the user chooses to not to input
any data.
This all seemed to work fine until I tried to pass a
variable declared as a sqldatatype into my Data Access
Layer, which is in COM+. This caused the exception...
"The type System.Data.SqlTypes.SqlInt16 in Assembly
System.Data, Version=1.0.3300.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 is not marked as
serializable."
So from this exception I would assume that the
SQLDataTypes are not Serilizable, however what seems to
fog the issue some what is that we have another project
which makes use of SQLDataTypes, which failed when trying
to pass the SQLDataType to a compiled com+ project, but if
both the project are in com + succesfully passes the
SQLDataType.
So what I really want to know is are the SQLDataTYpes
serializable or not, if they are not how can I make them
work with COM +?
Thanks In Advance
david