> -----Original Message-----
> From: Pham Huu Le Quoc Phuc [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 14, 2008 13:05
> To: 'For users and developers of the Firebird .NET providers'
> Subject: [Firebird-net-provider] FbScript should have a constructor with
> string Script
> 
> Dear all,
> My situation: I write a software with 2 part: client program and server
> program.
> - At client program, I don't add reference FirebirdClient.dll. When user
> want to execute a script db, because FirebirdClient.dll not reference, I
> can't parse at here by use FbScript. Client program send script(string) to
> server program.
> - At server program, it accesses db and execute scripts. But here I can't
> use FbScript because it does't has constructor with a script(string)
> 
> I know FbScript it has 2 constructors
> 1. TextReader
> 2. FileName
> I think should add a contructor with string script.

[PM] This design could easily generate conflicts in your app if each client
could run scripts. 
IMHO all scripts should be on server side and not on client side. The server
could run a script based on script identifier, that script is unique to your
system and can be run as many time you want from any client you want.

Regards,
Paul



-------------------------------------------------------------------------
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

Reply via email to