C# Класс Tiraggo.DynamicQuery.tgColumnMetadata

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AutoKeyText string
CharacterMaxLength long
Default string
Description string
HasDefault bool
IsAutoIncrement bool
IsComputed bool
IsConcurrency bool
IsInPrimaryKey bool
IsNullable bool
IsReadOnly bool
IsTiraggoConcurrency bool
IsTransient bool
NumericPrecision int
NumericScale int
Ordinal int
PropertyName string
Type System.Type
esType tgSystemType

Открытые методы

Метод Описание
tgColumnMetadata ( ) : System

The Constructor

tgColumnMetadata ( string name, int ordinal, Type type ) : System

The Constructor

tgColumnMetadata ( string name, int ordinal, Type type, tgSystemType esType ) : System

The Constructor

Описание методов

tgColumnMetadata() публичный Метод

The Constructor
public tgColumnMetadata ( ) : System
Результат System

tgColumnMetadata() публичный Метод

The Constructor
public tgColumnMetadata ( string name, int ordinal, Type type ) : System
name string Physical Column Name
ordinal int The Orderinal position in the Table or View
type System.Type The .NET Data Type of the Column
Результат System

tgColumnMetadata() публичный Метод

The Constructor
public tgColumnMetadata ( string name, int ordinal, Type type, tgSystemType esType ) : System
name string Physical Column Name
ordinal int The Orderinal position in the Table or View
type System.Type The .NET Data Type of the Column
esType tgSystemType The EntitySpaces data type
Результат System

Описание свойств

AutoKeyText публичное свойство

Contains the Custom autokey text such as the name of the sequencer
public string AutoKeyText
Результат string

CharacterMaxLength публичное свойство

For all string types this contains the maximum length of the column in the table or view.
public long CharacterMaxLength
Результат long

Default публичное свойство

The "raw" default value as stored in the DBMS system.
public string Default
Результат string

Description публичное свойство

The description of the column in the table or view provided by MyGeneration.
public string Description
Результат string

HasDefault публичное свойство

True if Default has a value.
public bool HasDefault
Результат bool

IsAutoIncrement публичное свойство

True if this column is an auto identity column. This is true for SQL. MySQL, and Access auto-incrementing columns. This is also true for Oracle Sequences if mapped properly in MyGeneration.
public bool IsAutoIncrement
Результат bool

IsComputed публичное свойство

True if this column is a derived or computed column in the database.
public bool IsComputed
Результат bool

IsConcurrency публичное свойство

True if this column is used for concurrency checking, such as Microsoft SQL Server's timestamp column. EntitySpaces can also support this for Oracle.
public bool IsConcurrency
Результат bool

IsInPrimaryKey публичное свойство

True if this column is all or part of the primary key.
public bool IsInPrimaryKey
Результат bool

IsNullable публичное свойство

True if this column can be NULL in the database.
public bool IsNullable
Результат bool

IsReadOnly публичное свойство

True if this column is read only, not all databases support read-only fields
public bool IsReadOnly
Результат bool

IsTiraggoConcurrency публичное свойство

True if this column is used for EntitySpaces Multiprovider concurrency checking model This column must be an integer type for this to work
public bool IsTiraggoConcurrency
Результат bool

IsTransient публичное свойство

True if this is a transient column
public bool IsTransient
Результат bool

NumericPrecision публичное свойство

The numerical precision of this column, valid only if this column is a decimal or some similiar type.
public int NumericPrecision
Результат int

NumericScale публичное свойство

The numerical scale (number of decimal points) in this column, valid only if this column is a decimal or some similiar type.
public int NumericScale
Результат int

Ordinal публичное свойство

The ordinal postition of this column in the table or view
public int Ordinal
Результат int

PropertyName публичное свойство

The property name in the esEntity that exposes this column.
public string PropertyName
Результат string

Type публичное свойство

The System type of this column
public Type,System Type
Результат System.Type

esType публичное свойство

The tgSystemType enum, can be useful if you need to perform a switch statement on the Type.
public tgSystemType esType
Результат tgSystemType