Event Loop

May 26, 2016 at 9:21 PM
Hi,

I'm developing a sync framework between SQLServer and Couchbase using your fantastic code.

Everything is working, but I've encountered a problem: ex.: when I get a INSERT event from Couchbase I insert into SQLServer, but then I get a INSERT event again from myself!

Is there any way you can help about this? maybe making an exception in the triggers based on the user of the connection? or an attribute on the connection string that you can catch?

Thank you!
Coordinator
Jun 2, 2016 at 7:44 AM
Hi. If your SqlTableDependency is monitoring a table, you get an event even when your code perform an insert.
That is normal.