You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: