EntityCoreTFieldsIEntityCoreUnsetRelatedEntity Method (IEntityCore, String, Boolean) |
Unsets the internal parameter related to the fieldname passed to the instance relatedEntity. Reverses the actions taken by SetRelatedEntity()
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax void IEntityCore.UnsetRelatedEntity(
IEntityCore relatedEntity,
string fieldName,
bool signalRelatedEntityManyToOne
)
Private Sub UnsetRelatedEntity (
relatedEntity As IEntityCore,
fieldName As String,
signalRelatedEntityManyToOne As Boolean
) Implements IEntityCore.UnsetRelatedEntity
Parameters
- relatedEntity
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
Instance to unset as the related entity of type entityType - fieldName
- Type: SystemString
Name of field mapped onto the relation which resolves in the instance relatedEntity - signalRelatedEntityManyToOne
- Type: SystemBoolean
if set to true it will notify the manytoone side, if applicable.
Implements
IEntityCoreUnsetRelatedEntity(IEntityCore, String, Boolean)See Also