Register a data access service object with the specified type.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Sub RegisterDataAccessService(Of T)( _
ByVal service As T _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim service As T
DataAccessServices.RegisterDataAccessService(Of T)(service) |
C# | |
---|
public static void RegisterDataAccessService<T>(
T service
) |
C++/CLI | |
---|
public:
static void RegisterDataAccessServicegeneric<typename T>
(
T^ service
) |
Parameters
- service
- The data access object that will be registered.
Type Parameters
- T
- The type of the service object to be registered with.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also