从c#监视sql server中的多表 [英] monitor multi tables in sql server from c#
问题描述
hi
i想要一个解决方案,告诉我如何在c#windows应用程序中监控多表监控
i使用SqlDependency for一个表和工作很好,但我想要监控多表
i非常研究并且只找到SqlCashDependency和AggregateCacheDependency,但它们是针对ASP和System.web而不是在windows应用程序中可用
如何在SQL Server中监视收藏表从C#Windows应用程序???
网站上的所有示例都是监视器单表并且没有为多表引入方式
plaese不要写链接到其他网站或文章,
hi
i want a solution that tell me how monitor multi table monitoring in c# windows application
i used SqlDependency for one table and work Fine , but i want monitor multi tables
i research very much and find only SqlCashDependency And AggregateCacheDependency , But they are for ASP and in System.web that not available in windows application
HOW DO Monitor Favorite Tables in sql server From C# Windows Application ???
All Example On The Sites Is For Monitor Single Table And nothing introduce way for multi tables
plaese dont write link to other site or article ,
Because
我读了所有但不是很有用
请解释我..
非常感谢
i read all But not useful
Please Explain Me ..
Thanks A Lot
推荐答案
对不起,但又给你一个网址:)
使用存储过程在答案中提出的解决方案下面的url是可行的。
无法使用SqlDependency监视多个表 [ ^ ]
Sorry but again a url for you :)
The solution proposed in the answer using stored procedure in below url is workable.
Cannot monitor multiple tables with SqlDependency[^]
这篇关于从c#监视sql server中的多表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!