Represents an attribute that specifies a one-to-many relationship. Used to mark a property intended to store a collection of child entities related to the local parent by a foreign key, identified by the specified property.
More...
|
|
string | ForeignIdProperty [get] |
| | The property name in the child entity that acts as the foreign key.
|
Represents an attribute that specifies a one-to-many relationship. Used to mark a property intended to store a collection of child entities related to the local parent by a foreign key, identified by the specified property.
https://buzzware.github.io/cascade/api_reference/md_api__docs_2using__cascade_2associations_2associations.html
◆ HasManyAttribute()
| Buzzware.Cascade.HasManyAttribute.HasManyAttribute |
( |
string | foreignIdProperty | ) |
|
|
inline |
HasManyAttribute Constructor.
- Parameters
-
| foreignIdProperty | The name of the property that represents the foreign key in the related entity. |
The documentation for this class was generated from the following file:
- Buzzware.Cascade/attributes/HasManyAttribute.cs