I think you want to post to http://groups.google.com/group/nhusers In general, if you want to guarantee the order that your columns are displayed in, completely independent of your data access or domain model layers, you should enforce that order in the UI layer.
On Sun, May 3, 2009 at 11:03 AM, Arnnei <[email protected]> wrote: > > Hi, > > I'm pretty new to Nhibernate and started programing with VS.NET 2005. > > I have table TA with columns: CA, CB, CC, CD, CE > > I can retrieve all rows and all columns easily into a DataViewGrid. > But the order of the columns is dictated by Nhibernate. > > I want to retrieve only CB, CC and in that order. > > What should I do ? > Should I create a new mapping ? only of those columns ? > Should I manage the DataViewGrid - remove the specific columns and > reorder the columns after assigning the NHobernate result List to the > DataViewGrid .DataSource > > Also - if I know the SELECT SQL command, can I pass it to NHIBERNATE ? > > What is the best way ? > > Thanks, > > Arnnei > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
