public IEnumerator <T> GetEnumerator() { return(((IEnumerable <T>)ContentProvider.Execute(this)).GetEnumerator()); }
public T First() { var contentQuery = this.Create(new CallExpression(this.Expression, CallType.First)); return((T)ContentProvider.Execute(contentQuery)); }
public T LastOrDefault() { var contentQuery = this.Create(new CallExpression(this.Expression, CallType.LastOrDefault)); return((T)ContentProvider.Execute(contentQuery)); }
public int Count() { var contentQuery = this.Create(new CallExpression(this.Expression, CallType.Count)); return((int)ContentProvider.Execute(contentQuery)); }