SCM

[#1002154] Notification function does not exist for NpgsqlConnection??

View Trackers | Support Requests | Download .csv | Monitor

Date:
2007-02-20 23:29
Priority:
3
State:
Open
Submitted by:
steven floyd (steven_f)
Assigned to:
Nobody (None)
Category:
Group:
Resolution:
None
 
Summary:
Notification function does not exist for NpgsqlConnection??

Detailed description

Am trying to get Synchronous notifications working using visual basic express.

Example uses member function Notification of class NpgsqlConnection

However this does not seem to exist.

Any ideas??

The sample from the documentation is:

conn = new NpgsqlConnection("Server=127.0.0.1;User
id=npgsql_tests;password=npgsql_tests;");
conn.Open();

NpgsqlCommand command = new NpgsqlCommand("listen notifytest;", conn);
command.ExecuteNonQuery();

conn.Notification += new NotificationEventHandler(NotificationSupportHelper);



However conn.Notification does not work....








Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge