Class TIndex
Unit
Declaration
type TIndex = class(TDatabaseObject)
Description
simple index declaration (for primary and unique keys)
Hierarchy
- TObject
- TDatabaseObject
- TIndex
Overview
Fields
FTableOwner:TTableMetadata; |
|
FIndexName:AnsiString; |
|
FFields:TStringList; |
Methods
procedure AddFieldToIndex(FieldName:AnsiString); virtual; |
|
function GetFieldCount:LongInt; |
|
function GetField(index:LongInt):AnsiString; |
|
constructor Create(OwnerTable:TTableMetadata; IndexName:AnsiString); |
|
destructor Destroy; override; |
|
function GetCurrentState:TDatabaseObjectState; override; |
Properties
property IndexName: AnsiString read FIndexName; |
|
property FieldCount: LongInt read GetFieldCount; |
|
property IndexField[index:LongInt]: AnsiString read GetField; |
Description
Fields
FTableOwner:TTableMetadata; |
|
FIndexName:AnsiString; |
|
FFields:TStringList; |
|
Methods
procedure AddFieldToIndex(FieldName:AnsiString); virtual; |
|
function GetFieldCount:LongInt; |
|
function GetField(index:LongInt):AnsiString; |
|
constructor Create(OwnerTable:TTableMetadata; IndexName:AnsiString); |
|
destructor Destroy; override; |
|
function GetCurrentState:TDatabaseObjectState; override; |
|
Properties
property IndexName: AnsiString read FIndexName; |
|
property FieldCount: LongInt read GetFieldCount; |
|
property IndexField[index:LongInt]: AnsiString read GetField; |
|
Generated by PasDoc 0.14.0.