Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NHibernate.Expression.Orderオブジェクトのリストがあり、それらをSQL文字列に変換したいと思います。
つまり、「名前ASC、ID DESC、金額ASC」
List<string> sqlSortingList = new List<string>(); if (OrderList != null) { foreach (Order order in OrderList) { sqlSortingList.Add(order.ToString()); } }
後で、文字列を 1 つの文字列に連結します。