How to convert next hql to criteria API
var criteria = this.Session.CreateQuery("select m, m.Attachments.size from AdvanceMessage m");
? Thanks
Your question is a bit vague, but it's something like this:
IList<AdvanceMessage> list = session.CreateCriteria(typeof(AdvanceMessage)) .List<AdvanceMessage>();
Source: https://habr.com/ru/post/1737707/More articles:Learning libraries without books or textbooks - librariesIs it possible to select data with the maximum value for a column using criteria in sleep mode? - ormМожно ли отобразить в табличной форме с помощьюив html? - jsonWIF using SAML 2 / Federate AD FS 2.0 with CAS - wifhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1737706/bind-different-entries-to-datagridviewcomboboxcell-from-a-data-source&usg=ALkJrhj4i4i41CvoNbBhcWbtm-ufZYHMYwhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1737708/implement-collision-detection-by-extendung-the-rectangle-class-to-use-its-contains-and-intersects-methods&usg=ALkJrhhiLlb3RLn3gc89LpKYZyE-fMk3bARAII: инициализация элемента данных в режиме const - c++https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1737710/what-are-some-arguments-to-support-the-position-that-the-dojo-javasscript-library-is-secure-accessible-and-performant&usg=ALkJrhjjXe0d0H9OdPrpqyIRYPxUC18n9QПоддержка протокола IMAP на разных почтовых серверах - imapEDM -> POCO -> WCF (.NET4). But passing the collection calls IsReadOnly set to TRUE - entity-frameworkAll Articles