Thank for your reply, Please tell me more TextReader?
www.tonyvn.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Harding Sent: Wednesday, July 23, 2008 13:24 To: For users and developers of the Firebird .NET providers Subject: Re: [Firebird-net-provider] Some questions? Pham Huu Le Quoc Phuc wrote: > There's a ctor with TextReader param. > > I write a client - server program. At client, user select a script sql file, > my program read and send script to server. At server, I want new FbScript > with ctor parameter is script(not TextReader). I can't pass TextReader to > server. Um, you need to look up the documentation for TextReader. It's exactly what you are after. > >> 3. Function: RemoveComments(string source) of Fbscrip should change from > private to >> public. > > I want remove commmends on script without init FbScript > Reason? The source code for FbScript is available, if you need your own version, just use it. You can't make every method public just because someone, somewhere, might one day want it. You'd be creating a maintenance nightmare for yourself. Dean. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider