Hi,
if i try to work with the returned value(s) in a component (IDictionary<string, object>
) then an error appears.
Query:
query.SelectList(list => list
.Select(…)
.Select(x => ((int)x.Values["Prop1"])).WithAlias(() => alias.Prop1));
or
query.Where(x => ((int)x.Values["Prop1"]) > 100);
Error-Message:
ArgumentException: The Object with The Type "NHibernate.Util.DynamicComponent" cannot be convertet to the Type "System.Int32".
Many Greetings
heikar