C# Class Tiraggo.Interfaces.tgColumnMetadata

Show file Open project: BrewDawg/Tiraggo Class Usage Examples

Public Properties

Property Type Description
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

Public Methods

Method Description
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

Method Details

tgColumnMetadata() public method

The Constructor
public tgColumnMetadata ( ) : System
return System

tgColumnMetadata() public method

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
return System

tgColumnMetadata() public method

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
return System

Property Details

AutoKeyText public property

Contains the Custom autokey text such as the name of the sequencer
public string AutoKeyText
return string

CharacterMaxLength public property

For all string types this contains the maximum length of the column in the table or view.
public long CharacterMaxLength
return long

Default public property

The "raw" default value as stored in the DBMS system.
public string Default
return string

Description public property

The description of the column in the table or view provided by MyGeneration.
public string Description
return string

HasDefault public property

True if Default has a value.
public bool HasDefault
return bool

IsAutoIncrement public property

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
return bool

IsComputed public property

True if this column is a derived or computed column in the database.
public bool IsComputed
return bool

IsConcurrency public property

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
return bool

IsInPrimaryKey public property

True if this column is all or part of the primary key.
public bool IsInPrimaryKey
return bool

IsNullable public property

True if this column can be NULL in the database.
public bool IsNullable
return bool

IsReadOnly public property

True if this column is read only, not all databases support read-only fields
public bool IsReadOnly
return bool

IsTiraggoConcurrency public property

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
return bool

IsTransient public property

True if this is a transient column
public bool IsTransient
return bool

NumericPrecision public property

The numerical precision of this column, valid only if this column is a decimal or some similiar type.
public int NumericPrecision
return int

NumericScale public property

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
return int

Ordinal public property

The ordinal postition of this column in the table or view
public int Ordinal
return int

PropertyName public property

The property name in the esEntity that exposes this column.
public string PropertyName
return string

Type public property

The System type of this column
public Type,System Type
return System.Type

esType public property

The tgSystemType enum, can be useful if you need to perform a switch statement on the Type.
public tgSystemType esType
return tgSystemType