I need to get a row with values and column's names (as if I use
DataRow) quering with NHibernate. Im able to get a row in the form of
Object[] but isn't enough:
ISQLQuery query = session.CreateSQLQuery("SELECT * FROM " + _dataTable
+ " WHERE " + _dataColumn + "=?");
query.SetInt32(0, id_);
query.SetMaxResults(1);
return query.UniqueResult<object[]>();
Is it posible to get the row column's names at runtime?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---