EntityBase2CheckOneWayRelations Method |
Checks if the relation mapped by the property with the name specified is a one way / single sided relation. If the passed in name is null, it
will return true if the entity has any single-sided relation
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntax protected virtual bool CheckOneWayRelations(
string propertyName
)
Protected Overridable Function CheckOneWayRelations (
propertyName As String
) As Boolean
Parameters
- propertyName
- Type: SystemString
Name of the property which is mapped onto the relation to check, or null to check if the entity has any relation
which is single sided
Return Value
Type:
Booleantrue if the relation is single sided / one way (so the opposite relation isn't present), false otherwise
See Also