Click or drag to resize
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.1.0.0 (5.1.0)
Syntax
protected virtual bool CheckOneWayRelations(
	string propertyName
)

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: Boolean
true if the relation is single sided / one way (so the opposite relation isn't present), false otherwise
See Also