Storing a List of Lists

Nov 23, 2011 at 1:15 PM

I have a class, that looks like this:

class Calendar
     List<Days> days;

class Days
     List<Event> ev;

class Event
     string description;
     string Location;
     TimeSpan span;

I would like to create a Table typeof Days. In your Samples I saw saving and restoring simple classes with strings, ints etc. 
In my class structure there are Lists. So will the provided Library automaticaly save to the Table all Entrys from containing lists?

Nov 24, 2011 at 12:56 AM

I have not tried this, Pampilius.  I think it might work, but I usually myself prefer to treat each list of a primitive type as a table, akin to any table structure in any database.  Have you tried and see if this works?