Table of Contents

TFieldExpressions<T> Class

A class to store compiled expressions to access fields in a TLinqDataTable. This is faster than reading the field values with reflection. Field expressions will be created on demand, so if you never use a field, an expression for it won't be created.

Syntax

Namespace: FlexCel.Report

public class TFieldExpressions<T>

Type Parameters

Type Parameter Description
T Type of the expression.

Constructors

Name Description
TFieldExpressions Creates a new instance and assigns it to an array of PropertyInfo.

Methods

Name Description
GetNestedProp Gets a compiled expression for a nested property
GetNestedProp​Expression<​Q> Gets an expression for a nested property.

Properties

Name Description
this[] Gets the compiled expression for the needed field.