tags:

views:

25

answers:

2

Hi

If I have a customer table with fields : Address1, Address2, Address3 - Is it possible to map these fields into one array of strings? So from an implementating point of view I would want to call Customer.Address[0] ?

Thanks

+1  A: 

It would be easier to map to three fields and use a separate indexer property to provide access.

Vinay Sajip
A: 

You could use dynamic components, it will however return an IDictionary

kitsune