/// <summary>
 ///     Returns a new query that will stream the results instead of buffering.
 /// </summary>
 /// <returns> A new query with AsStreaming applied. </returns>
 public virtual IInternalQuery <TElement> AsStreaming()
 {
     return(new InternalQuery <TElement>(
                _internalContext, (ObjectQuery)DbHelpers.CreateStreamingQuery(_objectQuery)));
 }
Exemple #2
0
 public virtual IInternalQuery <TElement> AsStreaming()
 {
     return((IInternalQuery <TElement>) new InternalQuery <TElement>(this._internalContext, (System.Data.Entity.Core.Objects.ObjectQuery)DbHelpers.CreateStreamingQuery((System.Data.Entity.Core.Objects.ObjectQuery) this._objectQuery)));
 }