Hello,
I'm trying to map a Dictionary containing Lists.
I have the following set of tables:
CREATE TABLE Item(id)
CREATE TABLE Filter(id)
CREATE TABLE FilterType(id)
CREATE TABLE ItemFilter(
item REFERENCES Item(id),
filter REFERENCES Filter(id),
filterType REFERENCES FilterType(id)
)
and I want to do this mapping:
class Item{
public IDictionary<long, IList<ItemFilter>> ItemFiltersByType;
}
The long
is the id of the filterType
.
I was using this mapping but its not working:
Any help would be appreciated : P. Tks