ObjectQuery.IQueryable.Provider, propriété
[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.]
Obtient l'objet IQueryProvider associé à cette instance de requête.
Espace de noms : System.Data.Entity.Core.Objects
Assembly : EntityFramework (dans EntityFramework.dll)
Syntaxe
'Déclaration
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private ReadOnly Property Provider As IQueryProvider
Implements IQueryable.Provider
Get
'Utilisation
Dim instance As ObjectQuery
Dim value As IQueryProvider
value = CType(instance, IQueryable).Provider
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
IQueryProvider IQueryable.Provider { get; }
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual property IQueryProvider^ Provider {
IQueryProvider^ get () sealed = IQueryable::Provider::get;
}
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract Provider : IQueryProvider
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override Provider : IQueryProvider
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Valeur de propriété
Type : System.Linq.IQueryProvider