Occurs during data retrieval, when meta information for a foreign-key is being retrieved.
The event handler receives an argument of type SmartDataSourceFKInfoEventArgs containing data related to this event. The following SmartDataSourceFKInfoEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| BaseSchemaName | The schema of the database table of the relation |
| ForeignKeyCaption | The proposed caption of the foreign key. You can override the value with our own. |
| ForeignKeyCaptionResID | The resource id for localized caption. If this is specified it takes precedence over ForeignKeyCaption. |
| ForeignKeyDataRelation | The DataRelation for the foreign key. |
| ForeignKeyDescription | The proposed description of the foreign key. You can override the value with our own. |
| ForeignKeyDescriptionResID | The resource id for localized foreign key description. If this is specified it takes precedence over ForeignKeyDescription. |
| ForeignKeyNULLValueCaption | The proposed caption of the foreign key null value. You can override the value with our own. The null value is used when the database column is a foreign key but its value is null. |
| ForeignKeyNULLValueCaptionResID | The resource id for localized null value caption. If this is specified it takes precedence over ForeignKeyNULLValueCaption. |
| ForeignKeyNULLValueDescription | The proposed description of the foreign key null value. You can override the value with our own. The null value is used when the database column is a foreign key but its value is null. |
| ForeignKeyNULLValueDescriptionResID | The resource id for localized null value description. If this is specified it takes precedence over ForeignKeyNULLValueDescription. |
| ForeignKeySystemName | the system name of the foreign key relation. The name as it appears in the database. |
SmartDataSource Class | Adillis.SmartDBForms.DataSource Namespace