TableQuery.Project<T>(T, String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the names of the entity properties to return when the query is executed against the table.
public static T Project<T> (T entity, params string[] columns);
static member Project : 'T * string[] -> 'T
Public Shared Function Project(Of T) (entity As T, ParamArray columns As String()) As T
Type Parameters
- T
The entity type of the query.
Parameters
- entity
- T
The entity instance to project off of.
- columns
- String[]
A list of string objects containing the names of the entity properties to return when the query is executed.
Returns
A TableQuery instance set with the entity properties to return.
Remarks
The Project clause is optional on a query, used to limit the properties returned from the server. By default, a query will return all properties from the entity.
Applies to
Azure SDK for .NET