Possible to use Tables of same type in Linq to SQL?
- by Schneider
Lets say I've got an object model, where I have many collections of the same type.
For example something like
class StockMarketData {
List<SummaryData> WeeklySummary;
List<SummaryData> MonthlySummary;
}
class SummaryData {
DateTime DateTime {get; set;}
double Value {get; set;}
}
Those lists will map onto database tables.
…