Class CompiledExpressionBase<T>
- Namespace
- TimeCockpit.Data.QueryLanguage
- Assembly
- TimeCockpit.Data.dll
Represents a container that holds a compiled TCQL expression plus its TimeCockpit.Data.QueryLanguage.AstSourceContext and its participating members.
public abstract class CompiledExpressionBase<T>
Type Parameters
TThe return type of the Function, declared in the concrete types.
- Inheritance
-
ObjectCompiledExpressionBase<T>
- Derived
- Inherited Members
-
Object.ToString()Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Methods
FindAccessedElements(ModelEntityBase, Boolean, Environment)
Finds the model elements accessed by the expression.
public IEnumerable<ModelElement> FindAccessedElements(ModelEntityBase rootEntity, bool expandCalculatedProperties = true, Environment environment = null)
Parameters
rootEntityModelEntityBaseThe root entity on which expressions are based.
expandCalculatedPropertiesBooleantrue if calculated properties should be expanded to their instead of included directly.
environmentEnvironmentThe environment.
Returns
- IEnumerable<ModelElement>
Returns an enumeration of modelelements accessed in the expression.