Closed JordanMarr closed 4 years ago
I would like to see some examples how people use MapTo in real life, as there are no unit tests and I don't use it.
MapTo is dealing with propertyname-to-obj maps, so it would be quite simple to add a small recursion to this.
Update, yes you can, if you provide the mapping parameter function to MapTo-method. See https://github.com/fsprojects/SQLProvider/issues/666#issuecomment-581812959
Question
Is it possible to use
MapTo<Order>()
if I have a record type with a one-to-many relationship? So far it looks like I would have to manually instantiate the record.Ex: