SCM

[#1010825] NpgsqlCommandBuilder.DeriveParameters and SP without input arguments

View Trackers | Bugs | Download .csv | Monitor

Date:
2010-05-18 01:57
Priority:
3
State:
Open
Submitted by:
Max Korol (x27)
Assigned to:
Nobody (None)
Npgsql Version:
2.0.9
Category:
Group:
Resolution:
None
Summary:
NpgsqlCommandBuilder.DeriveParameters and SP without input arguments

Detailed description
Hello!

NpgsqlCommandBuilder.DeriveParameters(NpgsqlCommand command) throws an exception
if command.CommandType is StoredProcedure and stored procedure is no input arguments.

[Test]
public void VerifyFunctionWithNoParametersWithDeriveParameters()
{
NpgsqlCommand command = new NpgsqlCommand("funcb", TheConnection);
NpgsqlCommandBuilder.DeriveParameters(command);
}

not passed!

Followup

Message
Date: 2010-06-01 00:33
Sender: Josh Cooley

Thanks for the test. I've added your test and fixed the code in CVS.

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge