-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
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
System.Xml.Linq.XElement cannot be used as a parameter value at Dapper #427
Comments
Good question. You can probably pass a string instead. I agree it would be On Thu, 24 Dec 2015 12:01 dalvirsaini [email protected] wrote:
|
Thanks for reply. By passing xml as string now exception changes to :
So in which version I can expect that XElement will be supported. Any time estimation? Thanks |
I haven't looked at this yet, but if it means a new dependency in CoreCLR world - I'm not totally sure it's worth having in the base package. It may not be an problem at all, just noting the potential issue here. |
Note: both XDocument and XmlDocument are in 23509, but yeah, I kinda agree
|
Just like to add my 2 cents: I think it would be nice if the XML data type in SQL Server could be deserialized by Dapper into an |
I am using dapper dot net for making Db calls.
now one of my sp having input parameter as Db type XML
Now i am executing sp like
This code giving me error:
Why this error coming? How I can use XML type of inputs in StoredProcedure.?
The text was updated successfully, but these errors were encountered: