|
An object representing a table in a database.
|
Flags
|
Gets or sets the flags associated with this table. See Table Flags for a list of possible values.
|
|
Location
|
Gets the file name of the table. To determine the path of this file, use the properties of the DtoDatabase Object .
|
|
Name
|
Gets or sets the name of the table.
|
|
Overwrite
|
If True, this table can overwrite a table with the same name during an AddTable method call.
True = overwrite table
False = do not overwrite table and return an error
|
None
DtoTable object contains two collection objects: Columns and Indexes. All operations invloving columns and indexes are accomplished using these objects.
To add a new table to a dictionary, use the AddTable method.
To remove a table from a dictionary, use the DropTable method.
For an example of creating a new DtoTable object, see AddTable method.
Dim dictionary as new DtoDictionary Dim table as new DtoTable Dim result as DtoResult Dim location as string 'determine file name of Billing table result = dictionary.Open("c:\pvsw\demodata") For Each table In dictionary.Tables If table.Name = "Billing" Then location = table.Location End If next
DtoTables Collection
DtoColumn Object
DtoIndex Object
DtoDictionary Object
|
Chapter contents
Prev topic: DtoTables Collection
|