On 8/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hello,
> I need to have the C# .NET 2.0 application that could use both firebird
> and/or oracle as a database engine. What is the best way to hide the
> difference in parameter prefix? In firebird it is '@' in oracle it is
> ':' May be it is possible to explicitly set in firebird provider a
> prefix to ':'?
For this time, it's hardcoded in provider code. The '@' character is
default fo ADO.NET classes, so if oracle is using another, it's weird.
It's not long time ago, the fb .net provider supports also params
without '@' to better handle ASP.NET stuff. Carlos did it, look at
changelog. So maybe this is supported by oracle too.
If you still want to chnage this character, you should look at
FbCommand, FbCommandBuilder and FbParameter classes. But I don't
think, it's a good idea, cause '@' is used on various places so
changing it can break something.
--
Jiri {x2} Cincura (Microsoft Student Partner)
http://blog.vyvojar.cz/jirka/ | http://www.ID3renamer.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider