Data Model > Extending the UNICOM Intelligence Data Model > Creating a CDSC > Adding registration support to a DSC
 
Adding registration support to a DSC
The DSC Registration component enumerates the available DSCs by checking the Registry for installed DSCs. As each DSC is installed and registered, a new key should be added as follows:
SOFTWARE\SPSS\MR Data Providers\[Provider] (Default) = [Description]
Casedata = [Class name]
Metadata = [Class name]
A DSC can support case data, metadata, or both case data and metadata. The CDSC and MDSC interfaces can be implemented in the same server DLL, but should be implemented in separate coclasses. The version-independent class name should always be used when registering enumerated DSCs. The registry setup can be added to the registry script for each coclass.
Example
This example is from the Quanvert MDSC (mdm_qv2.dll).
HKLM
{
NoRemove 'SOFTWARE'
{
NoRemove 'SPSS'
{
NoRemove 'MR Data Providers'
{
NoRemove 'mrQvDsc' = s 'SPSS MR Quanvert Data Source Component'
{
ForceRemove Metadata = s 'Mdm_qv.QVMetadata'
}
}
}
}
}
See also
Defining the capabilities of a DSC
Creating a CDSC