T
The type of the service object to be registered with.
LEADTOOLS Medical (Leadtools.Medical.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
RegisterDataAccessService<T> Method
See Also 
Leadtools.Medical.DataAccessLayer Namespace > DataAccessServices Class : RegisterDataAccessService<T> Method



service
The data access object that will be registered.
service
The data access object that will be registered.
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

Leadtools.Medical.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features