Click or drag to resize
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.0.0.0 (5.0.0)
Syntax
protected IEntity GetFromActiveContext(
	IEntity toGet
)

Parameters

toGet
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity
To get.

Return Value

Type: IEntity
original 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