SqlSet<TResult>.Cast Method (Type)

Casts the elements of the set to the specified type.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public SqlSet Cast(
	Type resultType
)

Parameters

resultType

Type: System.Type
The type to cast the elements of the set to.

Return Value

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

See Also

Reference

SqlSet<TResult> Class
DbExtensions Namespace

© Max Toro Q.