EntityCore<TFields>.IEntityCore.UnsetRelatedEntity Method (IEntityCore, String) |
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.12.0.0 (5.12.0)
Syntaxvoid IEntityCore.UnsetRelatedEntity(
IEntityCore relatedEntity,
string fieldName
)
Private Sub UnsetRelatedEntity (
relatedEntity As IEntityCore,
fieldName As String
) Implements IEntityCore.UnsetRelatedEntity
Parameters
- relatedEntity
- Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntityCore
Instance to unset as the related entity of type entityType - fieldName
- Type: System.String
Name of field mapped onto the relation which resolves in the instance relatedEntity
Implements
IEntityCore.UnsetRelatedEntity(IEntityCore, String)
See Also