[mono-packagers] Provider Factories in Mono on Ubuntu

Daniel Morgan monodanmorg at yahoo.com
Tue Nov 10 14:17:06 EST 2009


Provider Factory info in the machine.config file is included for the providers that are part of Mono's class libraries: SqlClient, Sqlite, OracleClient, Odbc.  However, providers that are added separately are not.

Is it possible to include this provider factory info in the machine.config for MySql.Data, Firebird, Npgsql2?

The question applies to Debian and other Linux distributions too.

This is what the machine.config file has for the NET_2_0 profile:

	<system.data>
	  <DbProviderFactories>
	    <add name="Mono Sqlite Data Provider"  invariant="Mono.Data.SqliteClient" 
		 description="Mono Framework Data Provider for SQLite (old version)" 
		 type="Mono.Data.SqliteClient.SqliteFactory, Mono.Data.SqliteClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"/>
	    <add name="Mono Sqlite Provider"  invariant="Mono.Data.Sqlite" 
		 description="Mono Framework Data Provider for SQLite (new version)"
		 type="Mono.Data.Sqlite.SqliteFactory, Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"/>
	    <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"/>
            <add name="OleDb Data Provider"        invariant="System.Data.OleDb"        
		 description=".Net Framework Data Provider for OleDb"     
		 type="System.Data.OleDb.OleDbFactory, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add name="OracleClient Data Provider" invariant="System.Data.OracleClient" 
		 description=".Net Framework Data Provider for Oracle"    
		 type="System.Data.OracleClient.OracleClientFactory, System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add name="SqlClient Data Provider"    invariant="System.Data.SqlClient"    
		 description=".Net Framework Data Provider for SqlServer" 
		 type="System.Data.SqlClient.SqlClientFactory, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add name="Sybase Data Provider"    invariant="Mono.Data.SybaseClient"    
		 description=".Net Framework Data Provider for Sybase" 
		 type="Mono.Data.SybaseClient.SybaseClientFactory, Mono.Data.SybaseClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756"/>
	  </DbProviderFactories>
	</system.data>



      


More information about the mono-packagers-list mailing list