SqlSet.Cast<TResult> Method

Casts the elements of the set to the specified type.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public SqlSet<TResult> Cast<TResult>()

Type Parameters

TResult

The type to cast the elements of the set to.

Return Value

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

See Also

Reference

SqlSet Class
DbExtensions Namespace

© Max Toro Q.