Developer Documentation Library > Data Model > Extending the UNICOM Intelligence Data Model > Creating a CDSC > Custom connection properties
 
Custom connection properties
You can use the MR Custom connection property to create custom properties for your CDSC. However, it is recommended that you use the standard connection properties wherever possible.
For example, if you want to use the MR Custom property in a Visual Basic CDSC, you would add the MR Custom case to the Initialize method of the Source Class:
Select Case strProperty
Case "Location"
mstrFileLocation = CStr(objProperty.Value)
Case "MR Input Locale"
mstrInputLocale = CStr(objProperty.Value)
Case "Mr Output Locale"
mstrOutputLocale = CStr(objProperty.Value)
Case "MR MDM document"
Set mobjMDMDocument = objProperty.Value
Case "MR Custom"
...
End Select
If you are not familiar with OLE DB properties, it is easy to be confused about the Init and non-Init properties. However, the Provider (mrOleDb) copies the Init properties into the non-Init properties before passing them to the CDSC. The Init properties are there only because of the way the OLE DB properties work, and you only need to specify the non-Init properties in your CDSC.
See also
Structure of the CDSC interface
How should a CDSC return categorical data?
Creating a CDSC