Chapter 17. Native SQL

/g


> On 20 jan 2015, at 19:32, Bryan Valencia <[email protected]> wrote:
> 
> That page has a thousand things on it, do any of them apply to my question?
> 
>> On Monday, January 19, 2015 at 10:48:31 PM UTC-8, Oskar Berggren wrote:
>> To execute the query you might use List(). 
>> 
>> Various examples are here: 
>> http://nhibernate.info/doc/nh/en/index.html#querysql 
>> 
>> /Oskar 
>> 
>> 
>> 2015-01-19 23:54 GMT+01:00 Bryan Valencia <[email protected]>: 
>> > Ok, I have created my SQL Query and now I need to get the data out of it, 
>> > either by iterating, or binding. 
>> > 
>> > How? 
>> > 
>> > One example would go a long way. 
>> > 
>> > ISQLQuery Query = myDB.Session.CreateSQLQuery(SQLstring); 
>> > 
>> > now what? 
>> > 
>> > I have a class that can store the record returned by the SQL but there is 
>> > no 
>> > mapping to say field x goes to property a etc. 
>> > 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google Groups 
>> > "nhusers" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to [email protected]. 
>> > To post to this group, send email to [email protected]. 
>> > Visit this group at http://groups.google.com/group/nhusers. 
>> > For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "nhusers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/nhusers.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to