Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Lukáš Vykydal
Well thank you for sugestions. After some thinking we'll use soultion with wrapper classes. Thank for your time Lukáš Vykydal Dne 1/16/2015 v 11:24 AM Jiří Činčura napsal(a): > Well, you can do simple: > StartTiming(); > Execute(); > LogElapsed(); > > Of if you want to do more fancy solution you

Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Mercea Paul
On 2015.01.16 12:02 PM, Lukáš Vykydal wrote: > We d'like to monitor performance (time to execute) for every statement. > > We have a lot of code which use only base ADO.NET access to database. > With this change we can find "performance killers" in this code more > easly including parameters and pl

Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Jiří Činčura
Well, you can do simple: StartTiming(); Execute(); LogElapsed(); Of if you want to do more fancy solution you should wrap all the FbXxx classes into wrappers. That's how other layers work (profilers, O/Rs, ...). -- Mgr. Jiří Činčura Independent IT Specialist > -Original Message- > From

Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Lukáš Vykydal
We d'like to monitor performance (time to execute) for every statement. We have a lot of code which use only base ADO.NET access to database. With this change we can find "performance killers" in this code more easly including parameters and plan. That is the main reason for this request. Luk

Re: [Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Jiří Činčura
What are you trying to do that is not possible without it? -- Mgr. Jiří Činčura Independent IT Specialist -- New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of servi

[Firebird-net-provider] Make FbNetProvider classes unseal

2015-01-16 Thread Lukáš Vykydal
Hi all, can we make "frontend" classes for FbNetProvider (primarly FbConnecton, FbTransaction, FbCommand) not sealed ?? This will be handy for performance monitoring of applications (especially Execute* functions in FBCommand). What do you think ? I you'll like this this changes, i can prepa