SqlSet<TResult>.Cast<T> Method

Casts the elements of the set to the specified type.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public SqlSet<T> Cast<T>()

Type Parameters

T

The type to cast the elements of the set to.

Return Value

Type: SqlSet<T>
A new SqlSet<TResult> that contains each element of the current set cast to the specified type.

See Also

Reference

SqlSet<TResult> Class
DbExtensions Namespace

© Max Toro Q.