문제

I build some service that on start open two threads, each one start SqlDependency with same sql connection but the command its different.

Its possible? its seems to working, but after some will when the on change event need wake up its doesnt.

Thanks.

도움이 되었습니까?

해결책

Yes. You can submit any number of SqlCommands to be notified, with same or different SQL text (query), on one more many SqlConnection objects.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top