Conversione DbQuery<TResult> Implicit (DbQuery<TResult> to DbQuery)
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Restituisce una nuova istanza della classe DbQuery non generica per questa query.
Spazio dei nomi: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
'Dichiarazione
Public Shared Widening Operator CType ( _
entry As DbQuery(Of TResult) _
) As DbQuery
'Utilizzo
Dim input As DbQuery(Of TResult)
Dim output As DbQuery
output = CType(input, DbQuery)
public static implicit operator DbQuery (
DbQuery<TResult> entry
)
static implicit operator DbQuery^ (
DbQuery<TResult>^ entry
)
JScript supports the use of custom casts, but not the declaration of new ones.
- entry
Tipo: System.Data.Entity.Infrastructure.DbQuery<TResult>
Query.
Tipo: System.Data.Entity.Infrastructure.DbQuery
Versione non generica.