> I have 2 questions. Why to change somethig what's working and working
> well? Is emiting this class a clear way for doing something like this
> (especially if it's not required)?

I'm not saying it HAS to be changed, but it WOULD be a neat feature. If the
argument is that we shouldn't add new features just because it would involve
changing things, then why do anything?

> Note: Emit method is method of ILGenerator object not Reflection. ;)

Reflection.Emit refers to the namespace (its actually
System.Reflection.Emit, but most people just abbreviate it to
Reflection.Emit).

You don't need to generate any actual IL - the FbClient class is all just
type declarations anyway, it would be fairly simple, I believe.

Dean.


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Jiri Cincura
> Sent: Wednesday, 28 February 2007 9:40 am
> To: For users and developers of the Firebird .NET providers
> Subject: Re: [Firebird-net-provider] Connection string enhancing
> 
> Dean Harding wrote:
> > You can make it work using Reflection.Emit and dynamically generating
> the
> > FirebirdSql.Data.Client.Embedded.FbClient class at runtime, with the
> full
> > path to the fbembed.dll file in the [DllImport] attributes.
> 
> I have 2 questions. Why to change somethig what's working and working
> well? Is emiting this class a clear way for doing something like this
> (especially if it's not required)?
> 
> I don't think so. The DLL is in 99% cases found without problems (if
> this param should care about this). And if somebody needs hardcoded path
> (or simply direct full path) there's no problem to build provider self.
> 
> 
> --
> Jiri {x2} Cincura
> http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Firebird-net-provider mailing list
> Firebird-net-provider@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/firebird-net-provider



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to