TurboDB

Configuring the Provider Factory

Previous  Top  Next

.NET Framework 2.0 allows the use of generic database factories. If you want to use this programming feature, you must add TurboDB to the machine.config under system.data/DbProviderFactories. Set the version according to the one you have installed (look it up in the assembly cache, if you are not sure, which version you have). The entry looks like this:

<system.data>
       <DbProviderFactories>
               <add name="Odbc Data Provider" invariant="System.Data.Odbc" description=".Net Framework Data Provider for Odbc" type="System.Data.Odbc.OdbcFactory, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
               <!-- Other provider factories here>
 
               <!-- TurboDB Win32 for ADO.NET 5>
               <add name="dataWeb TurboDB Data Provider" invariant="DataWeb.TurboDB" description=".NET Framework Data Provider for TurboDB" type="DataWeb.TurboDB.TurboDBFactory, DataWeb.TurboDB.Native20.Provider, Version=X.X.X.X, Culture=neutral, PublicKeyToken=ee707c084c1d234c" />
 
               <!-- TurboDB Managed>
               <add name="dataWeb TurboDB Managed Data Provider" invariant="DataWeb.TurboDBManaged" description=".NET Framework Data Provider for TurboDB Managed" type="Dataweb.TurboDBManaged.TurboDBFactory, Dataweb.TurboDB.Managed20.Provider, Version=X.X.X.X, Culture=neutral, PublicKeyToken=e71a100181b21fc6" />
 
       </DbProviderFactories>
</system.data>

Note

Do not add factory provider entries for providers not installed on your system.