|
From: Sarel <sa...@op...> - 2006-07-31 11:39:50
|
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/FbMembershipProvider-problem-tf1446243.html#a5574207
Sent from the firebird-net-provider forum at Nabble.com.
|