The ForeignKeyAttribute type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AllowCascadeDeletes |
If the "parent" data is deleted and this is set to true, then the data that
refer to the parent is also deleted.
| |
| NullableString |
Use this if non-reference is allowed with strings foreign keys
| |
| NullReferenceValue |
This value is used when foreign key integrity is performed.
If this is not set, the data that the foreign key is pointing to must always exists.
| |
| NullReferenceValueType |
The NullReferenceValue will be converted to the the type specifed with the property
|