0

I found that it's possible to create server trigger from C# code.

But still can't find is it possible and how to subscribe to Server triggers or maybe design events based on sql server data change?

I think I can create an trigger on C# that will contact with my application with ... WCF? or somehow else, it should be not hard I think to create connection for C# -> C# there but is there examples, more native ways of catching sql server events from C# application?

1 Answer 1

1

You can add a listener with SqlDependency.Start(string), more information here: SqlDependency MSDN

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.