Re: [Firebird-net-provider] FbBatchExecution

2015-06-16 Thread Геннадий Забула
you can also add helper method Add(FbScript scrip) to support current ctor. On Tue, Jun 16, 2015 at 7:57 AM, Jiří Činčura j...@cincura.net wrote: Thinking more about it. Maybe the ctor should be only with optional FbConnection and the rest can be done via SqlStatements property. Then it's

Re: [Firebird-net-provider] FbBatchExecution

2015-06-16 Thread Jiří Činčura
That breaks the notion of single point for interaction. -- Mgr. Jiří Činčura Independent IT Specialist -- ___ Firebird-net-provider mailing list

Re: [Firebird-net-provider] FbBatchExecution

2015-06-15 Thread Jiří Činčura
Thinking more about it. Maybe the ctor should be only with optional FbConnection and the rest can be done via SqlStatements property. Then it's not tied to FbScript at all. Maybe then the FbStatementCollection can have a simple helper method Add(FbStatementCollection) (or something like

[Firebird-net-provider] FbBatchExecution

2015-06-10 Thread Jiří Činčura
Hi guys, Looking at FbBatchExecution's ctor I don't see a reason why it takes FbScript. It should rather be FbStatementCollection I think. The FbBatchExecution is doing nothing with the FbScript. It just needs commands. What do you think? I would add another overload to ctor and make the one

Re: [Firebird-net-provider] FbBatchExecution

2015-06-10 Thread Ivan Arabadzhiev
I did once suggest it should take raw String, a long time ago (did a lot of magic to embed text files to run...). Still think it has uses, but I've mostly moved away from .net now 2015-06-10 16:36 GMT+03:00 Jiří Činčura j...@cincura.net: Hi guys, Looking at FbBatchExecution's ctor I don't see

Re: [Firebird-net-provider] FbBatchExecution

2015-06-10 Thread Геннадий Забула
I don't use this. Though, propose looks good to me. On Wed, Jun 10, 2015 at 6:37 PM, Ivan Arabadzhiev intelru...@unrealsoft.net wrote: I did once suggest it should take raw String, a long time ago (did a lot of magic to embed text files to run...). Still think it has uses, but I've mostly

Re: [Firebird-net-provider] FbBatchExecution parse error

2007-03-06 Thread Carlos Guzmán Álvarez
Hello: It looks like the string '--' is parsed as the begin of a comment text Any other string ( not containing -- ) is parsed correcly. Ok, i will try to fix it as soon as possible - Take Surveys. Earn Cash.

[Firebird-net-provider] FbBatchExecution

2006-10-20 Thread Ulf
If I use FbBatchExecution I have problems that indicate that the transactions are not commited correctly? The Execute() method could be called with an argument, autocommit. What is the difference between choosing true or false and what is default when calling Execute() ? If I use Execute(false)

Re: [Firebird-net-provider] FbBatchExecution

2006-10-20 Thread Carlos Guzmán Álvarez
Hello: Is that normal (I am using it in a faulty way) or do I have to do anything more to complete my fbe execution? What version of the provider are you using ?? What version of Firebird are you using ?? What version of .NET/mono are you using ?? Can you send to my private email the isql

[Firebird-net-provider] FbBatchExecution with parameters

2006-04-20 Thread Hakan Lindestaf
Hi, I used to execute multiple SELECT statements with parameters in a single Command with version 1.6.3 and everything worked fine. Then when I upgraded to 1.7 I noticed that this capability had been removed. I assume the correct way to execute multiple statements is to split it up and