Class TTableMetadata
Unit
Declaration
type TTableMetadata = class(TDatabaseObject)
Description
TTableMetadata
Hierarchy
- TObject
- TDatabaseObject
- TTableMetadata
Overview
Methods
constructor Create(OwnerDatabase:TDatabaseMetadata; TableName:AnsiString); |
|
destructor Destroy; override; |
|
function addCollumn(FieldName:AnsiString; FieldType:TFieldType; Size:LongInt = -1; NotNull:Boolean = false; DefaultValue:AnsiString = ''):TCollumnDefinition; |
|
function addPrimaryKey(pkName:AnsiString):TPrimaryKeyIndex; |
|
function addUniqueIndex(uniquename:AnsiString):TUniqueIndex; |
|
function addForeignKey(IndexName, SourceTable:AnsiString; UpdateAction:TForeignKeyRestriction = fkrNoAction; DeleteAction:TForeignKeyRestriction = fkrNoAction):TForeignKey; |
|
function ValidateName(Name: AnsiString; NameKind: TDatabaseNameKind): Boolean; override; |
|
function FieldExists(fieldname:AnsiString; var field:TCollumnDefinition):Boolean; |
|
function GetCurrentState:TDatabaseObjectState; override; |
|
procedure ResetState; override; |
Properties
property TableName: AnsiString read FTableName; |
|
property OwnerDatabase: TDatabaseMetadata read FOwnerDatabase; |
Description
Methods
constructor Create(OwnerDatabase:TDatabaseMetadata; TableName:AnsiString); |
|
destructor Destroy; override; |
|
function addCollumn(FieldName:AnsiString; FieldType:TFieldType; Size:LongInt = -1; NotNull:Boolean = false; DefaultValue:AnsiString = ''):TCollumnDefinition; |
|
function addPrimaryKey(pkName:AnsiString):TPrimaryKeyIndex; |
|
function addUniqueIndex(uniquename:AnsiString):TUniqueIndex; |
|
function addForeignKey(IndexName, SourceTable:AnsiString; UpdateAction:TForeignKeyRestriction = fkrNoAction; DeleteAction:TForeignKeyRestriction = fkrNoAction):TForeignKey; |
|
function ValidateName(Name: AnsiString; NameKind: TDatabaseNameKind): Boolean; override; |
|
function FieldExists(fieldname:AnsiString; var field:TCollumnDefinition):Boolean; |
|
function GetCurrentState:TDatabaseObjectState; override; |
|
procedure ResetState; override; |
|
Properties
property TableName: AnsiString read FTableName; |
|
property OwnerDatabase: TDatabaseMetadata read FOwnerDatabase; |
|
Generated by PasDoc 0.14.0.