Class CalculatedField

A calculated field in the data dictionary.

System.Object
  Stonefield.Collections.BaseItem
    Stonefield.Collections.BaseNamedItem
      Stonefield.Collections.BaseNamedItemPersistent
        Stonefield.Query.DataDictionary.MetaDataObject
          Stonefield.Query.DataDictionary.Field
            Stonefield.Query.DataDictionary.CalculatedField
public class CalculatedField : Field, IField,
   ICalculatedField

Class Members

MemberDescription

Constructor

Parameterless constructor.

IDChanged

Raised when the ID is changed.

PropertyChanged

Raised when a property is changed.

_favorite

The underlying store for Favorite.

SetFieldList

Adds the fields IDs in the specified array to FieldList.

public sealed void SetFieldList(String[] fields);

ToString

Returns the name of the item.

public virtual string ToString();

AllowValues

AllowValues is false for a calculated field that's an expression that doesn't access the database.

Caption

The caption for the field as displayed in Stonefield Query dialogs. This can be an expression if surrounded with braces.

Changed

Flags that one or more properties of the item have changed since it was last loaded or saved.

Comments

Comments for the field.

ContentType

What type of content a field contains.

DataType

The data type of the field.

DefaultSummaryType

The default summary type to use in a report.

DisplayCaption

The caption as displayed to the user.

DisplayHeading

The default heading as displayed to the user.

Expression

The expression to determine the value of this field if it's a calculated field.

ExpressionType

Indicates what type of expression Expression contains.

Favorite

True if this is a "favorite" field.

FieldList

A list of fields used to calculate the value of this field if it's a calculated field.

FieldName

The unaliased name of the field.

Filterable

True if the user can filter on this field.

Format

The format for this field. This can be an expression if surrounded with braces.

Heading

The default column heading for this field in a report. This can be an expression if surrounded with braces. If it's blank, Caption is used.

ID

The ID of the item.

IgnoreTimeComponent

True to ignore the time component of datetime values.

Loading

Flags that the item is being loaded from storage.

Name

The field name.

Order

The order for this field in the table: 1 is the first field, 2 the second, and so on.

OutputDataType

The data type for this field in the result set.

PluginData

This property contains anything a plugin requires.

Reportable

True if the user can report on this field.

Roles

The roles that can access the field.

Sortable

True if the user can sort on this field.

Table

A reference to the table the field belongs to.

Updated

The date/time the object was last updated.

UserDefined

This property can contain anything the developer wants to put in it.

UserDefinedFormula

True if this is a user-defined formula.

ValueConverter

Specifies the name for a plugin value converter to convert values between what the user sees and what's actually in the database

ValuesMethod

The name of the plugin used to retrieve distinct values for this field; empty to use a SQL statement.

Version

The version number for the object.

Requirements

Namespace: Stonefield.Query.DataDictionary
Assembly: datadictionary.dll