VistaDB 5






VistaDB.Extra Namespace > VistaDBDataTable Class > VistaDBDataTable Constructor : VistaDBDataTable Constructor(IVistaDBDatabase,String,Boolean,Boolean,String,Int32,Boolean)
Instance of opened VistaDB Database
Table name
Table open mode
Read-only mode flag
Active index name
Cache size for table cursor
Optimistic locking flag
VistaDBDataTable Constructor(IVistaDBDatabase,String,Boolean,Boolean,String,Int32,Boolean)
Initializes a new instance of the VistaDBDataTable class.
Syntax
'Declaration
 
Public Function New( _
   ByVal db As IVistaDBDatabase, _
   ByVal tableName As System.String, _
   ByVal exclusive As System.Boolean, _
   ByVal readOnly As System.Boolean, _
   ByVal indexName As System.String, _
   ByVal cacheSize As System.Integer, _
   ByVal optimisticLocking As System.Boolean _
)
'Usage
 
Dim db As IVistaDBDatabase
Dim tableName As System.String
Dim exclusive As System.Boolean
Dim readOnly As System.Boolean
Dim indexName As System.String
Dim cacheSize As System.Integer
Dim optimisticLocking As System.Boolean
 
Dim instance As New VistaDBDataTable(db, tableName, exclusive, readOnly, indexName, cacheSize, optimisticLocking)
public VistaDBDataTable( 
   IVistaDBDatabase db,
   System.string tableName,
   System.bool exclusive,
   System.bool readOnly,
   System.string indexName,
   System.int cacheSize,
   System.bool optimisticLocking
)
public VistaDBDataTable( 
    db: IVistaDBDatabase;
    tableName: System.String;
    exclusive: System.Boolean;
    readOnly: System.Boolean;
    indexName: System.String;
    cacheSize: System.Integer;
    optimisticLocking: System.Boolean
); 
public function VistaDBDataTable( 
   db : IVistaDBDatabase,
   tableName : System.String,
   exclusive : System.boolean,
   readOnly : System.boolean,
   indexName : System.String,
   cacheSize : System.int,
   optimisticLocking : System.boolean
);
public: VistaDBDataTable( 
   IVistaDBDatabase* db,
   System.string* tableName,
   System.bool exclusive,
   System.bool readOnly,
   System.string* indexName,
   System.int cacheSize,
   System.bool optimisticLocking
)
public:
VistaDBDataTable( 
   IVistaDBDatabase^ db,
   System.String^ tableName,
   System.bool exclusive,
   System.bool readOnly,
   System.String^ indexName,
   System.int cacheSize,
   System.bool optimisticLocking
)

Parameters

db
Instance of opened VistaDB Database
tableName
Table name
exclusive
Table open mode
readOnly
Read-only mode flag
indexName
Active index name
cacheSize
Cache size for table cursor
optimisticLocking
Optimistic locking flag
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also