-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
Description
Is it possible to implement a feature to give Dapper the instance which we want to set the properties? I mean, I don't want Dapper to create a new instance for the object when it reads the rows. I want it to let us create and provide the instance.
I need this because I've to use dynamic proxies on those objects. And for performance and memory reasons, it won't be good if I create a new proxy instance for every returned object from Dapper which will just double the total of instances.
I have found an old StackOverflow question and @mgravell mentioned that it is possible to implement.