DataClientObject<T>.Create(IServiceProvider, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new data client object.
public:
static T Create(IServiceProvider ^ serviceProvider, T providerObj);
public static T Create (IServiceProvider serviceProvider, T providerObj);
static member Create : IServiceProvider * 'T -> 'T
Public Shared Function Create (serviceProvider As IServiceProvider, providerObj As T) As T
Parameters
- serviceProvider
- IServiceProvider
The service provider.
- providerObj
- T
The underlying provider object.
Returns
T
The data client object of the specified generic type.