VistaDB 6
VistaDB.DDA Namespace / IVistaDBTable Interface
Properties Methods

In This Topic
    IVistaDBTable Interface Members
    In This Topic

    The following tables list the members exposed by IVistaDBTable.

    Public Properties
     NameDescription
     PropertyName of active index that determines row order when walking the table with First(), Last(), Prev(), and Next() and when applying SetScope(...), etc. A null setting for ActiveIndex selects the table's natural storage order (generally the order rows were originally inserted).  
     PropertyGets a copy of the current key row under the ActiveIndex, or sets the current key row from the row instance provided (such as from a previous get under the same ActiveIndex). Copies returned by get can be modifed and used in SetScope.  
     PropertyGets a copy of the entire current row of the table, or sets the modified column values into the pending-row placeholder to be submitted by a Post for update or insert. DO NOT MIX setting CurrentRow and using Put... methods on the table for the same operation.  
     PropertyTests if a record movement function has placed the row pointer beyond the last row in the table under the ActiveIndex (also true if the table is empty).  
     PropertyGets or sets a value indicating whether constraint rules are followed when attempting any insert, update or delete operation  
     PropertyGets or sets a value indicating whether identities are active when attempting any insert operation  
     PropertyGet or set the manual setting for IDENTITY_INSERT ON (true) or OFF (false) for this table. This is independent from the one-table-at-a-time setting for a SQL connection but provides the same basic functionality to allow explicit value insertion for identity columns.  
     PropertyGet the value indicating whether the table is closed  
     PropertyRead the memory-cached value of last insert operation made to the identity columns by this table instance  
     PropertyRead the last value of identity columns that will be used by any client in nearest insert operation. This value is saved in the file storage.  
     PropertyTable name  
     PropertyGet collection of regular indexes created and/or opened in this table instance  
     PropertyNumber of physical rows in the table  
     PropertyScans active index and calculates the keys in it, taking current scope operators into account. (WARNING: CAUSES SIDE-EFFECTS: The current row position of the parent table becomes undefined/EOF)  
     PropertyTests if a record movement function has placed the row pointer before the first row in the table under the ActiveIndex (also true if the table is empty).  
     PropertyGet collection of temporary indexes created and assigned to this table instance  
    Top
    Public Methods
     NameDescription
     MethodClose the table and clear respective resources  
     MethodCreate constraint to check after insert, update or before delete operations  
     MethodCreate a default value for a column using an expression.  
     MethodCreate foreign key constraint that instantiates respective relationship in the database  
     MethodCreate special index to use by full text search. Identity columns may not be used for FullTextSearch indexes. Only a single FullTextSearch index may exist per table.  
     MethodCreate and initialize identity counter. Applied to integer type columns only.  
     MethodCreate an index on current table. This may be a unique constrained index, or a primary key index.  
     MethodCreate temporary index from given keyExpression. The index is not added to database but kept separately in the user temporary folder. The file is deleted by engine when the table is closed.  
     MethodImmediately deletes current row and reset row lock if it was set before delete operation.  
     MethodPerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from System.IDisposable)
     MethodDrop existing constraint  
     MethodDrop an existing default value  
     MethodDrop foreign key constraint. Respective foreign key index will be deleted from the table as well.  
     MethodDrop full text search index. No params are required as there may be only one Full Text Search (FTS) Index per table.  
     MethodDrop existing identity column  
     MethodDrop existing index  
     MethodEvaluate expression.  
     MethodTo export table data using constraint set on destination table.  
     MethodOverloaded. Find an expression in an index. This is for searching for exact and partial matching records.  
     MethodSet current row pointer to the first row position under the current ActiveIndex (and any applied scope). If there are no rows, the EndOfTable flag is set to true.  
     MethodOverloaded. Get column value by column's name  
     MethodGets filter expression for current table state.  
     MethodGets copies of the lower and upper key rows of the currently set scope constraining the range of rows under the current ActiveIndex. (Columns will all be set to extreme values if no scope has been set.)  
     MethodOverloaded. Read Text, NText, Image data from database and put them to external file.  
     MethodStart an insert operation and create a placeholder row in memory. Values can then be set either by calling various Put... methods on the table OR by getting the CurrentRow and then assigning back to CurrentRow after setting column values in the instance. Submit by calling Post or Post(Boolean).  
     MethodSet current row pointer to the last row position under the current ActiveIndex (and any applied scope). If there are no rows, the EndOfTable flag is set to true.  
     MethodLock row. If zero is passed, the entire table will be locked  
     MethodAdvances current row pointer position by a specified number of rows forward (positive) or back (negative) under the current ActiveIndex.  
     MethodAdvances current row pointer to the next row under the current ActiveIndex. If there were no more rows to move forward to, the EndOfTable flag will be set to true.  
     MethodOverloaded. Finalize a pending insert or update operation and optionally release the row lock or leave it locked for further action.  
     MethodMove current row pointer to the previous row under the current ActiveIndex. If there were no previous rows to move back to, the StartOfTable flag will be set to true.  
     MethodOverloaded. Assign column value with system type value by column order in the row.  
     MethodOverloaded. Assign array of bytes value to column by column's name  
     MethodOverloaded. Assign boolean value to column by column's name  
     MethodOverloaded. Assign byte value to column by column's name  
     MethodOverloaded. Assign DateTime value to column by column's name  
     MethodOverloaded. Assign DateTimeOffset value to column by column's name  
     MethodOverloaded. Assign Decimal value to column by column's name  
     MethodOverloaded. Assign Double value to column by column's name  
     MethodOverloaded. Put Text, NText, Image data from external file to a column.  
     MethodOverloaded. Assign Guid value to column by column's name  
     MethodOverloaded. Assign int16 value to column by column's name  
     MethodOverloaded. Assign int32 value to column by column's name  
     MethodOverloaded. Assign int64 value to column by column's name  
     MethodOverloaded. Set null value by column's name  
     MethodOverloaded. Assign Float value to column by column's name  
     MethodOverloaded. Assign string value to column by column's name  
     MethodOverloaded. Assign TimeSpan value to column by column's name  
     MethodRename existing index without rebuilding.  
     MethodReset event delegate type called by DDA  
     MethodReset all filters  
     MethodReset scope in active index to the entire table.  
     MethodSet delegate method called by core engine by event  
     MethodSet filter expression and try to optimize it if the optimize parameter is true  
     MethodDefines a delegate that time consuming operations may call back in order to inform the user as to the progress of the operation and additional information.  
     MethodOverloaded. Set the scope for the table to constrain the range of rows under the ActiveIndex. After setting an ActiveIndex on the table (or null to use natural storage order) you can get copies from the CurrentKey property for row instances with the correct schema to use as the arguments.  
     MethodUnlock row. If zero is passed, the entire table will be unlocked and all existing row locks will be released  
    Top
    See Also