DbQuery<TResult>.Implicit(DbQuery<TResult> to DbQuery) 操作员

定义

返回此查询的非泛型 DbQuery 类的新实例。

[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

参数

entry
DbQuery<TResult>

查询。

返回

非泛型版本。

属性

适用于