Attribute to denote that a property is a reference to another record (of specified id) of another type. The id is read from the property specified by IdProperty, and the type is taken from the local property.
More...
|
|
string | IdProperty [get] |
| | The property name in the class that holds the id of the related entity.
|
Attribute to denote that a property is a reference to another record (of specified id) of another type. The id is read from the property specified by IdProperty, and the type is taken from the local property.
https://buzzware.github.io/cascade/api_reference/md_api__docs_2using__cascade_2associations_2associations.html
◆ BelongsToAttribute()
| Buzzware.Cascade.BelongsToAttribute.BelongsToAttribute |
( |
string | idProperty | ) |
|
|
inline |
BelongsToAttribute Constructor.
- Parameters
-
| idProperty | The name of the property that contains the id of another entity. |
The documentation for this class was generated from the following file:
- Buzzware.Cascade/attributes/BelongsToAttribute.cs