我使用linq-to-nhibernate进行以下查询: var query = from storeZoneStyles in session.Linq<StoreZoneStyle>() where storeZoneStyles.StoreZoneId== storeZones.StoreZoneId &&a
我有一个查询,它将产生10或20行或任意数目的行。下面是查询。var q = (from c in session.DB.Question where c.Level='1' && c.Group='1' select c);我看到了一个关于这个的主题:,但我想在LinQ中找到它
请帮我从结果中得到随机行。