Table of Contents

Interface ISchemaField

Namespace
OrpheusInterfaces.Schema
Assembly
OrpheusInterfaces.dll

Represents a schema field.

public interface ISchemaField

Properties

Alias

Field alias.

string Alias { get; set; }

Property Value

string

Field alias

DataType

Field data type.

string DataType { get; set; }

Property Value

string

Field data type

DefaultValue

Field's default value.

string DefaultValue { get; set; }

Property Value

string

Field's default value

FullFieldName

Gets the full field name.

string FullFieldName { get; }

Property Value

string

Name

Field name.

string Name { get; set; }

Property Value

string

Field name

Nullable

True if field accepts null values.

bool Nullable { get; set; }

Property Value

bool

True if field accepts null values

SchemaObject

Schema object where this schema field exists

ISchemaObject SchemaObject { get; }

Property Value

ISchemaObject

Schema object where the field exists

Size

Field size (if applicable).

string Size { get; set; }

Property Value

string

Field size

TableName

Table where the field belongs.

string TableName { get; set; }

Property Value

string

Methods

SQL()

Returns SQL definition for the field.

string SQL()

Returns

string

SQL definition for the field