RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DataStoreConnection Class

Provides a connection to a Blackfish SQL database.

Pascal
DataStoreConnection = class(DbConnection, IDbConnection, ICloneable, IDisposable);
C++
class DataStoreConnection : public DbConnection, public IDbConnection, public ICloneable, public IDisposable;

Ado.Net20.cs

DataStoreConnection provides a connection to a Blackfish SQL database.  

DataStoreConnection is an implementation of the .NET DbConnection class. 

Each connection provides a separate transactional context. The following example creates an in-process connection:

DataStoreConnection con = new DataStoreConnection();
con.ConnectionString = "database=c:\\tmp\\x.jds;user=USERNAME;password=PASSWORD";
con.Open();

It is possible to create the database by including create=true in the ConnectionString

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!