Closed maxtoroq closed 10 years ago
Currently, the API assumes that if you call Select you want to project to a different type. You can simply pass the same type to work around it:
db.From<Product>("products") .Select<Product>("id, name") /* map only these properties */
However, if you are working with an untyped set, you cannot call Select and stay untyped (using DynamicMapper), you have to pass a result type.
Currently, the API assumes that if you call Select you want to project to a different type. You can simply pass the same type to work around it:
However, if you are working with an untyped set, you cannot call Select and stay untyped (using DynamicMapper), you have to pass a result type.