DtoTable Object
An object representing a table in a database.
Properties
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 |
Collections
Methods
None
Remarks
DtoTable object contains two collection objects: Columns and Indexes. All operations involving 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.
Example
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
result = dictionary.Open("d:\MyDemodata")
For Each table In dictionary.Tables
If table.Name = "Mytable" Then
location = table.Location
End If
next
See Also