sdk/dotnet/src/Microsoft.Datasync.Client/Query/TableQuery.cs
/// <summary>
/// Applies the specified selection to the source query.
/// </summary>
/// <typeparam name="U">Type representing the projected result of the query.</typeparam>
/// <param name="selector">The selector function.</param>
/// <returns>The composed query object.</returns>
Applies the specified selection to the source query.
Applies the specified selection to the source query .
public ITableQuery<U> Select<U>(Expression<Func<T, U>> selector)
        {
            IRemoteTable<U> remoteTable = new RemoteTable<U>(RemoteTable.TableName, RemoteTable.ServiceClient);
            return new TableQuery<U>(remoteTable, Query.Select(selector), Parameters, RequestTotalCount) { IsOfflineEnabled = IsOfflineEnabled };
        }
public ITableQuery < U > Select < U > ( Expression < Func < T , U > > selector ) { IRemoteTable < U > remoteTable = new RemoteTable < U > ( RemoteTable . TableName , RemoteTable . ServiceClient ) ; return new TableQuery < U > ( remoteTable , Query . Select ( selector ) , Parameters , RequestTotalCount ) { IsOfflineEnabled = IsOfflineEnabled } ; }
Applies the specified selection to the source query.
Applies the specified selection to the source query .
The composed query object.
The composed query object .
selector
Expression<Func<T, U>>
The selector function.
The selector function .
typeparam
Type representing the projected result of the query.
Type representing the projected result of the query .