Re: MySqlDataDriver: Using DbProviderFactories.GetFactory instead of Reflection?

Max <[email protected]> Mon, 07 Jul 2008 22:09:12 +0200
Newsgroups gmane.comp.windows.dotnet.nhibernate.devel
Message-ID <[email protected]>
It would be much nicer if nhibernate would just locate the dll in the 
GAC itself because this would require zero-configuration. Would 
ADO.NET's DbProviderFactories.GetFactory() break anything?

Max


Fabio Maulo schrieb:
> In one app I'm using Firebird client installed on the GAC because it 
> is the default behavior of FB client installer.
> What I do in the app config is:
>     <runtime>
>         <!-- The assembly binding for FirebirdClient ADO.NET 
> <http://ADO.NET> 2.0 DataProvider -->
>         <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
>             <qualifyAssembly 
> partialName="FirebirdSql.Data.FirebirdClient" 
> fullName="FirebirdSql.Data.FirebirdClient, Version=2.0.1.0 
> <http://2.0.1.0>, Culture=neutral, PublicKeyToken=3750abcc3150b00c" />
>         </assemblyBinding>
>     </runtime>
>
> This setting is compatible with the dll installed in the app dir or in 
> the GAC and is part of .NET directives.
> Please use the app.config.
>
> Bye.
> Fabio Maulo.
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nhibernate-development mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nhibernate-development
>   


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08