NHibernate mappings
If I have a customer table with fields: Address1, Address2, Address3 - Can these fields be mapped into one array of strings? So from an implementation point of view, I would like to call Customer.Address [0]?
thank
+2
Morph
source
to share
2 answers
It would be easier to map the three fields and use a separate indexer property to provide access.
+1
Vinay sajip
source
to share
You can use dynamic components , however it will return IDictionary
0
kitsune
source
to share