I am trying to map a property to the database. However it is a list/array for which I know the fixed length. So I would like those items to be mapped into the same database table without needing to be mapped into a different database table.
public class Recurrency{
public int Id { get; set; }
public DateTime BeginDate { get; set; }
public DateTime EndDate { get; set; }
public Boolean[] IsRecurrent { get; set; }
}
The Boolean array I am currently using is as long as the days of the week and should be accessed using the DaysOfWeek
enumerator already provided.
Any ways of solving this?