Why when apply the rename feature dapper cannot match the properties names of a object ? #534
Replies: 1 comment
-
I just figured out! Then dapper can to map the properties. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been using confuserEx to obfuscate an executable from few years, but now i integrate dapper on the project, and i detect when i obfuscate the executable, precise when i apply the rename feature, then dapper found the data but cannot fill the object to return the data.
Example:
using (IDbConnection cnn = new SQLiteConnection(ConnectionStr)) { var output = cnn.QuerySingleOrDefault<Person>("select id, name from persons"); return output; }
The response when not obfuscate the code is correct and is posible to access to the properties.
When the same exactly code is obfuscated i get the count of the matches correctly but the properties of the object are on null, they dont matches the mapping correctly.
What can i do in this case ?
Beta Was this translation helpful? Give feedback.
All reactions