Jeff-Lewis / codesmith

Automatically exported from code.google.com/p/codesmith
0 stars 0 forks source link

PLINQO: Choose between byte[] and System.Linq.Binary #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate a class from a DB table containing binary columns.

What is the expected output? What do you see instead?
The default behavior of PLINQO is to generate a System.Linq.Binary. This is
not serializable by classic ASP.net web services, because it doesn't have a
parameterless constructor. It would be very nice to be able to choose
between byte[] and System.Linq.Binary (had to patch the code to achieve it
now).

What version of the product are you using?
3.1.808

Original issue reported on code.google.com by dasj...@gmail.com on 14 Sep 2009 at 7:07

GoogleCodeExporter commented 9 years ago
How about adding a property SupportXmlSerializer?  That would toggle the byte[] 
and
add the helper method in issue 139.

Original comment by paul.wel...@gmail.com on 14 Sep 2009 at 1:58

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 18 Sep 2009 at 4:37

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 5:43

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 6:04

GoogleCodeExporter commented 9 years ago

Original comment by shannon....@gmail.com on 30 Dec 2009 at 9:16