Table of Contents

Class JsonDataColumn

Namespace
Tripous.Data
Assembly
Tripous.Data.dll

JSON contract for a data column and its field metadata used by Tripous Web.

public class JsonDataColumn
Inheritance
JsonDataColumn
Inherited Members
Extension Methods

Constructors

JsonDataColumn()

Constructor.

public JsonDataColumn()

JsonDataColumn(DataColumn)

Constructor.

public JsonDataColumn(DataColumn Source)

Parameters

Source DataColumn

JsonDataColumn(DataColumn, FieldDef)

Constructor.

public JsonDataColumn(DataColumn Source, FieldDef FieldDef)

Parameters

Source DataColumn
FieldDef FieldDef

Properties

Alias

The column alias.

public string Alias { get; set; }

Property Value

string

CodeProvider

The code provider name.

public string CodeProvider { get; set; }

Property Value

string

ColumnType

The column type as a DataColumnType integer value.

public int ColumnType { get; set; }

Property Value

int

DataType

The data type as a DataFieldType integer value.

public int DataType { get; set; }

Property Value

int

Decimals

The decimal digits count. -1 means not set.

public int Decimals { get; set; }

Property Value

int

DefaultValue

The default value.

public object DefaultValue { get; set; }

Property Value

object

DisplayFormat

The display format.

public string DisplayFormat { get; set; }

Property Value

string

DisplayWidth

The display width in pixels. 0 means not set.

public int DisplayWidth { get; set; }

Property Value

int

EditFormat

The edit format.

public string EditFormat { get; set; }

Property Value

string

Expression

The column expression.

public string Expression { get; set; }

Property Value

string

Flags

The field flags as a FieldFlags integer value.

public int Flags { get; set; }

Property Value

int

Group

The display group.

public string Group { get; set; }

Property Value

string

Locator

The locator name.

public string Locator { get; set; }

Property Value

string

LookupSource

The lookup source name.

public string LookupSource { get; set; }

Property Value

string

MaxLength

The maximum string length. -1 means not set.

public int MaxLength { get; set; }

Property Value

int

Name

The column name.

public string Name { get; set; }

Property Value

string

SnapshotOf

The source field whose value is stored as a snapshot in this column.

public string SnapshotOf { get; set; }

Property Value

string

Title

The column title.

public string Title { get; set; }

Property Value

string

TitleKey

The column title localization key.

public string TitleKey { get; set; }

Property Value

string

ToolTip

The tooltip text.

public string ToolTip { get; set; }

Property Value

string

Unique

True when values must be unique.

public bool Unique { get; set; }

Property Value

bool