Hey,

Is there a way to map a list/array of a system value type to a table
using Fluent NH?

As an example. if I had the following class, where Day should be
mapped to one table and the the Times should be mapped to another,
with each record in the Times table representing a different time span
object.

public class Day
{
     public IList<TimeSpan> Times
     { get; set; }
}

Do I have to wrap the TimeSpan in a custom type to acheive this sort
of persistence, or is there a simpler way?

I also thought of maybe just using a IUserType implementation to
perhaps just serialise the times to a single column, but that could
prove tricky when doing any SQL-based reporting.

Thanks in advance,
Frank
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to