ah..you can map your Tuple<T1,T2,...> using an entity-name.
When you have a post about it of if you need help let me know in private.
I can help you for free under condition that you we will post about the
solution (in NH-Forge would be great).

2009/8/27 Fabio Maulo <fabioma...@gmail.com>

> Sure there is...You can even persist anonymous objects:
> http://fabiomaulo.blogspot.com/2009/07/duck-typing-with-nhibernate.html
>
>
> 2009/8/27 Brian <bgour...@gmail.com>
>
>
>> .Net 4.0 adds support for a new datatype which I would love to be able
>> to work with using NHibernate - The Tuple.  I imagine that there is
>> currently no way to map this type?
>>
>> Take the following example:
>>
>> public virtual IList<Tuple<String, float, UnitOfMeasure>> Measurements
>> { get; set; }
>>
>> You can read the documentation on the tuple datatype here:
>>
>> http://msdn.microsoft.com/en-us/library/system.tuple(VS.100).aspx
>>
>> If there is currently no way of doing it, could someone point me in
>> the right direction as far as how to start hacking nhibernate to
>> support this?
>>
>> Thank you
>>
>> Brian
>>
>
>
>
> --
> Fabio Maulo
>



-- 
Fabio Maulo

Reply via email to