From: Геннадий З. <zab...@gm...> - 2015-10-15 04:02:23
|
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" <ji...@ci...> Sent: 10/14/2015 8:18 PM To: "fir...@li..." <fir...@li...> 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 Fir...@li... https://lists.sourceforge.net/lists/listinfo/firebird-net-provider |