Class bpxIndex
- Namespace
- PolarDataInterop.Catalog
- Assembly
- PolarDataInterop.dll
This class contains an index in a table.
public class bpxIndex
- Inheritance
-
bpxIndex
- Inherited Members
- Extension Methods
Properties
CodedFieldNames
Returns a string of all lowercase and sorted fieldnames concatenated using pipe characters. Used to quickly find other indexes with the same fields.
public string CodedFieldNames { get; }
Property Value
Fields
Returns the fields in this index.
public Collection<bpxField> Fields { get; }
Property Value
Name
Returns the name of this index.
public string Name { get; }
Property Value
PrimaryKey
Returns True if this is a primary-key index.
public bool PrimaryKey { get; }
Property Value
Unique
Returns True if this index enforces uniqueness.
public bool Unique { get; }
Property Value
Methods
CreateIndexSQL(string)
Creates the SQL statement to create this index on the specified table name.
public string CreateIndexSQL(string pTableName)
Parameters
pTableName
stringThe table name to use.
Returns
- string
The SQL to create this index.
FieldNamesSQL()
Returns the names of the fields as SQL names concatenated using comma's.
public string FieldNamesSQL()
Returns
ToString(clsString)
public void ToString(clsString pResult)
Parameters
pResult
clsString