sdk/dotnet/src/Microsoft.Datasync.Client/Query/TableQuery.cs
/// <summary>
/// Returns the result of the query as an <see cref="IAsyncEnumerable{T}"/>.
/// </summary>
/// <returns>The list of items as an <see cref="IAsyncEnumerable{T}"/></returns>
Returns the result of the query as an .
Returns the result of the query as an .
public IAsyncEnumerable<T> ToAsyncEnumerable()
        {
            if (IsOfflineEnabled)
            {
                var offlineTable = new OfflineTable<T>(RemoteTable.TableName, RemoteTable.ServiceClient);
                return offlineTable.GetAsyncItems(this);
            }
            return RemoteTable.GetAsyncItems(this);
        }
public IAsyncEnumerable < T > ToAsyncEnumerable ( ) { if ( IsOfflineEnabled ) { var offlineTable = new OfflineTable < T > ( RemoteTable . TableName , RemoteTable . ServiceClient ) ; return offlineTable . GetAsyncItems ( this ) ; } return RemoteTable . GetAsyncItems ( this ) ; }
Returns the result of the query as an .
Returns the result of the query as an .
The list of items as an
The list of items as an