DbQuery.IQueryable.Provider Property
[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]
The IQueryable provider.
Namespace: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private ReadOnly Property Provider As IQueryProvider
Implements IQueryable.Provider
Get
'Usage
Dim instance As DbQuery
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.
Property Value
Type: System.Linq.IQueryProvider