Share via


Proprietà ObjectQuery.IQueryable.Provider

[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.]

Ottiene l'oggetto IQueryProvider associato all'istanza della query.

Spazio dei nomi:  System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private ReadOnly Property Provider As IQueryProvider 
    Implements IQueryable.Provider 
    Get
'Utilizzo
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.

Valore proprietà

Tipo: System.Linq.IQueryProvider

Implements

IQueryable.Provider

Vedere anche

Riferimento

ObjectQuery Classe

Spazio dei nomi System.Data.Entity.Core.Objects