Hi all,
before posting I checked the documentation a copule of times.
And I'm confused, I try something very similar to the code segment bellow, however this can't even compile on .NET.
Code:
IEnumerable countEn = session.Enumerable("select count(*) from ....");
countEn.MoveNext();
int count = (int) countEn.Current;
I Get an error with something like: "Error 1 'System.Collections.IEnumerable' does not contain a definition for 'MoveNext'", Which is correct, only the interface IEnumerator have
those definitios.
Any idea if this is a bug ? Do we really have this code working on .NET or something similar to it ?
Thanks in advance for your help.
Best reagards
Luis de Sousa