I got it. It is support of dynamic client library name specified in connection 
string. Do you mind if I submit PR with comments about it?

-----Original Message-----
From: "Jiří Činčura" <j...@cincura.net>
Sent: ‎10/‎14/‎2015 8:18 PM
To: "firebird-net-provider@lists.sourceforge.net" 
<firebird-net-provider@lists.sourceforge.net>
Subject: Re: [Firebird-net-provider] Question about IFbClient purpose

On Wed, Oct 14, 2015, at 19:12, Геннадий Забула wrote:
> Jiri, could you clarify what is a purpose of separate IFbClient
> interface and about using native calls through instance instead of
> organizing P/Invokes as static NativeMethods class?

It's used because for P/Invoke calls to fbembed are emitted on the fly.
And that's because you can't have DllImport attribute with non-constant
string which is needed to ClientLibrary support in connection string.

-- 
Mgr. Jiří Činčura
Independent IT Specialist

------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider
------------------------------------------------------------------------------
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to