共用方式為


DataClientObject<T>.Create(IServiceProvider, T) Method

Definition

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.

Applies to