string query = "select a.CustomerName as CustomerName, b.ProductName as ProductName from Customer as a join a.Product as b" IQuery query = applicationSession.CreateQuery(query);var listResult = query.SetResultTransformer(NHibernate.Transform.Transformers.AliasToEntityMap).List();string cus Read More
posted @ 2014-03-10 00:24 庚武 Views(702) Comments(0) Diggs(0) Edit