Closed mattjohnsonpint closed 9 years ago
It would appear I can only map a collection property as a field if it is declared as IEnumerable<T>. It should really support any type that inherits from IEnumerable<T>, including lists, arrays, IList<T>, etc...
IEnumerable<T>
IList<T>
There's a TODO here that would need some attention.
There may be other places where changes are required.
See also #32.
Thanks. If I get some time, I'll see if I can tackle that todo and send a PR.
It would appear I can only map a collection property as a field if it is declared as
IEnumerable<T>
. It should really support any type that inherits fromIEnumerable<T>
, including lists, arrays,IList<T>
, etc...