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
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
GetProperties Overloaded
GetProperties(Int32)
GetProperties(String, String)
GetValue Returns the value of the field for a given object.
TryGetColumn Returns the index for a field given its name. Note that for nested fields, this number might be bigger than ColumnCount

Properties

Name Description
ColumnCount Number of first-class fields in the class. (doesn't include nested ones like "Employee.Name")
ExtraExpressions Expressions added at runtime, to support nested properties like a.b.c
ExtraFields Definitions added on runtime, to support nested fields like Employee.Name
ExtraNames Returns the nested fields with dots, like field1.field2.
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.
Fields Type definitions for the properties of the class this table holds.
FieldsByName A dictionary to find the field position in the Fields or ExtraFields array given its name.
this[] Returns the properties of the field at index.