You can deploy AdoDbx Client applications in several ways.
<add name="AdoDbx Data Provider" invariant="Borland.Data.AdoDbxClient" description=".Net Framework Data Provider for dbExpress Drivers" type="Borland.Data.TAdoDbxProviderFactory, Borland.Data.AdoDbxClient, Version=11.0.5000.0,Culture=neutral,PublicKeyToken=91d62ebb5b0d1b1b"/>
<add name="IBConnection" connectionString="SomeName=IBCONNECTION; drivername=Interbase; database=someDatabasePathName\database.gdb; rolename=RoleName;user_name=UserName;password=password; sqldialect=3;localecode=0000;blobsize=-1;commitretain=False;waitonlocks=True; interbase transisolation=ReadCommited; trim char=False" providerName="Borland.Data.AdoDbxClient"/>
Add Reference. In the Add Reference dialog, click Browse and select the file Borland.Data.AdoDbxClient.dll, which is in the Program Files\CodeGear\RAD Studio\5.0\bin directory. <configuration>
<system.data>
<DbProviderFactories>
<add name="AdoDbx Data Provider"
invariant="Borland.Data.AdoDbxClient"
description=".Net Framework Data Provider for dbExpress Drivers"
type="Borland.Data.TAdoDbxProviderFactory, Borland.Data.AdoDbxClient, Version=11.0.5000.0, Culture=neutral, PublicKeyToken=a91a7c5705831a4f"/>
</DbProviderFactories>
</system.data>
<connectionStrings>
<add name="IBConnection"
connectionString="SomeName=IBCONNECTION;
drivername=Interbase;
database=someDatabasePathName\database.gdb;
rolename=RoleName;user_name=UserName;password=password;
sqldialect=3;localecode=0000;blobsize=-1;commitretain=False;waitonlocks=True;
interbase transisolation=ReadCommited;
trim char=False"
providerName="Borland.Data.AdoDbxClient"/>
</connectionStrings>
</configuration>
|
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|