Link to home
Start Free TrialLog in
Avatar of erik_bradshaw
erik_bradshaw

asked on

Using datacontractserializer can i serialize anoyonous types

Using a LINQ statment i join on two tables and create an anonymous type e.g.

            var query = from c in dc.supplier
                        join x in dc.address on c.PrimaryKey equals x.Fk_Supplier
                        select new { c, x };

Is it possible to use the datacontractserializer and serialize the resultant query to send over the wire?

ASKER CERTIFIED SOLUTION
Avatar of Jens Fiederer
Jens Fiederer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial