We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a static private function inside a public class. In this private function I am defining an anonymous type to be the commonParam.
commonParam
I have a dapper helper that takes parameters and casts them to objects before it sends it to BulkInsert
If using an anonymous type without the cast to object the commonParam parses without issue.
object
I take an anonymous type and cast it to an object then send it as the commonParam then they aren't included in the parameters.
If I make the function public instead of private, it works without issue.
I have to assume your ParamExtractor isn't getting GetProperties in the same way that native dapper does.
ParamExtractor
The text was updated successfully, but these errors were encountered:
ejball
No branches or pull requests
I have a static private function inside a public class. In this private function I am defining an anonymous type to be the
commonParam
.I have a dapper helper that takes parameters and casts them to objects before it sends it to BulkInsert
If using an anonymous type without the cast to
object
thecommonParam
parses without issue.I take an anonymous type and cast it to an
object
then send it as thecommonParam
then they aren't included in the parameters.If I make the function public instead of private, it works without issue.
I have to assume your
ParamExtractor
isn't getting GetProperties in the same way that native dapper does.The text was updated successfully, but these errors were encountered: