DbQuery<TResult> Implicit, conversion (DbQuery<TResult> to DbQuery)
[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]
Retourne une nouvelle instance de la classe DbQuery non générique pour cette requête.
Espace de noms : System.Data.Entity.Infrastructure
Assembly : EntityFramework (dans EntityFramework.dll)
Syntaxe
'Déclaration
Public Shared Widening Operator CType ( _
entry As DbQuery(Of TResult) _
) As DbQuery
'Utilisation
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.
Paramètres
- entry
Type : System.Data.Entity.Infrastructure.DbQuery<TResult>
Requête.
Valeur de retour
Type : System.Data.Entity.Infrastructure.DbQuery
Version non générique.