I'm needing to do some SQL queries manually because ActiveRecord doesn't support any kind of XPath query.
I'd love if I could somehow send in a query and it give me back a list of data objects. What would be the easiest way to do this without manually loading each column into an object's property
SubSonic has a "CodingHorror" class which enables me to do inline queries and it has a method ExecuteTypedList<T>()
. So I'm going to try loading things that way and see how it works
So you need to load xml into c# objects?
Sounds like this maybe...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.