Table of Contents

TLinqFieldDefinitions<T> Class

Holds a list of field definitions, used to find the fields in classes available to the report.

Syntax

Namespace: FlexCel.Report

public class TLinqFieldDefinitions<T>

Type Parameters

Type Parameter Description
T Type of the field definition.

Constructors

Name Description
TLinqFieldDefinitions Creates and initializes all the fields in the class.

Methods

Name Description
TryGetColumn Returns the index for a field given its name. Note that for nested fields, this number might be bigger than ColumnCount
ContainsColumn Returns true if the dataset contains a given column.
GetColumn Returns the index for a field given its name. Note that for nested fields, this number might be bigger than ColumnCount
GetColumnName Returns the name for a field given its index. Note that for nested fields, this number might be bigger than ColumnCount
GetValue Returns the value of the field for a given object.
GetProperties Overloaded
GetProperties(Int32)
GetProperties(String, String)

Properties

Name Description
Fields Type definitions for the properties of the class this table holds.
ExtraFields Definitions added on runtime, to support nested fields like Employee.Name
ExtraProperties Properties for nested field.
FieldExpressions A list of compiled field expressions that can be used to find the values of the fields without using reflection.
ExtraExpressions Expressions added at runtime, to support nested properties like a.b.c
FieldsByName A dictionary to find the field position in the Fields or ExtraFields array given its name.
ExtraNames Returns the nested fields with dots, like field1.field2.
ColumnCount Number of first-class fields in the class. (doesn't include nested ones like "Employee.Name")
this[] Returns the properties of the field at index.