Hello,
I'm trying to get a minimum value from a table with a filter. But I can't seem to get a valid IExpression on one field. So this following code is working for me now, but is not really optimized:
int eersteDruknrVanUitgave = (int)EntityManager.DataEntityManager.GetScalar(DrukFields.Druknr,
DrukFields.Druknr + DrukFields.Druknr - DrukFields.Druknr,
AggregateFunction.Min,
(DrukFields.UitgaveId == druk.UitgaveId));
Please let me know if there is a better way.
thank you
Using LLBLGen Pro v3.5 Final January 17th, 2013