Share via


DbQuery<TResult>.Implicit(DbQuery<TResult> to DbQuery) Operator

Definition

Returns a new instance of the non-generic DbQuery class for this query.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2225:OperatorOverloadsHaveNamedAlternates", Justification="Intentionally just implicit to reduce API clutter.")]
public static implicit operator System.Data.Entity.Infrastructure.DbQuery (System.Data.Entity.Infrastructure.DbQuery<TResult> entry);
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2225:OperatorOverloadsHaveNamedAlternates", Justification="Intentionally just implicit to reduce API clutter.")]
public static implicit operator System.Data.Entity.Infrastructure.DbQuery (System.Data.Entity.Infrastructure.DbQuery<TResult> entry);
static member op_Implicit : System.Data.Entity.Infrastructure.DbQuery<'Result> -> System.Data.Entity.Infrastructure.DbQuery
Public Shared Widening Operator CType (entry As DbQuery(Of TResult)) As DbQuery

Parameters

entry
DbQuery<TResult>

The query.

Returns

A non-generic version.

Attributes

Applies to