Custom types

Is it possible to map two or more columns in in a custom class/struct?

By example, for a customer, I have some infos (address, city, province...) in Customers table that I collect in an AddressInfo struct for the Customer class. How could I "teach" Linq to do this?

Thanks

[309 byte] By [cobain81] at [2007-12-24]

Visual Studio Orcas

Site Classified