Retrieves a previously registered data access service of the specified type.
public static GetDataAccessService<>()
'Declaration
Public Shared Function GetDataAccessService(Of )() As
'Usage
Dim value As
value = DataAccessServices.GetDataAccessService(Of T)()
public:
static GetDataAccessServicegeneric<typename >
();
Type Parameters
- T
- The type of the data access object to be unregistered.
Return Value
The data access object that was removed. Default T value will be returned if no object registered with this type.