The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EntityProviderFactory::IServiceProvider::GetService Method (Type^)
.NET Framework (current version)
Returns the requested IServiceProvider class.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
private: virtual Object^ GetService( Type^ serviceType ) sealed = IServiceProvider::GetService
Parameters
- serviceType
-
Type:
System::Type^
The Type to return.
Return Value
Type: System::Object^A new instance of IServiceProvider. The supported types are DbProviderServices, T:System.Data.Common.DbCommandDefinitionBuilder, and T:System.Data.IEntityAdapter. Returns null (or Nothing in Visual Basic) for every other type.
Implements
IServiceProvider::GetService(Type^)
.NET Framework
Available since 3.5
Available since 3.5
Show: