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.