Does Firebird database support parameter discovery? 

I have hooked up the Enterprise Library's Data Application Block and my code
seems to work fine when I provide the parameters etc end execute a
FbCommand, however when I call this: 

public static object ExecuteScalar(string storedProcedureName, params
object[] parameterValues) {
        Database db = DatabaseFactory.CreateDatabase();
        return db.ExecuteScalar(storedProcedureName, parameterValues); }

it throws this exception:
Parameter discovery is not supported for connections using GenericDatabase.
You must specify the parameters explicitly, or configure the connection to
use a type deriving from Database that supports parameter discovery.

So I guess this question is for any person that knows abit more about the
generic database stuff or that have had a similar issue to resolve.

Regards
Sarel

-- 
View this message in context: 
http://www.nabble.com/Parameter-Discovery-tf2026999.html#a5574220
Sent from the firebird-net-provider forum at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to