EntityBaseGetFromActiveContext Method |
Gets the original entity class instance containing the same data (entity instance) as present in toGet from active context.
If no active context is set, toGet is returned.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.9.0.0 (5.9.0)
Syntax protected IEntity GetFromActiveContext(
IEntity toGet
)
Protected Function GetFromActiveContext (
toGet As IEntity
) As IEntity
Parameters
- toGet
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity
To get.
Return Value
Type:
IEntityoriginal entity class instance with same entity instance (data) as present in toGet, or toGet if not found or no active context is set.
See Also