We have C # entity classes that map to some of our SQL Server database tables. We need to be able to serialize these classes to send them back to the client, from the server, through WCF. For each SQL Server data type, we have the corresponding C # CLR data type in the associated object.
We have some SQL Server data types, such as Image and VarBinary, which we need to map to the C # CLR data type, so we can pass the data back to the client. The problem is that I donβt know which CLR data type to use for these image types and VarBinary SQL so that we can serialize them through WCF.
Thank.
source
share