也许如何生成数据库通知(event/eventHandler)? [英] How to generate database notifications (event/eventHandler) maybe?

查看:76
本文介绍了也许如何生成数据库通知(event/eventHandler)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在前端使用C#winForm,在后端使用MySQL.我试图弄清楚如何在表已更新时向C#客户端发送通知/消息,或者在通过eventHandler以事件形式发生更改时将表推至客户端.

有没有人有任何解决方案/想法?

提前谢谢.
-DA

I''m using C# winForm on the front-end and MySQL on the back-end. I''m trying to figure how to either send a notification/message to a C# client whenever the table has been updated or push the table to the client when a change occurs in the form of an event via an eventHandler.

Does anyone have any solutions/ideas?

Thanks in advance.
-DA

推荐答案

尝试观察者模式 [ ^ ]将更改通知给客户端.
--NDK
Try Observer Pattern[^] to notify the change to the client.
--NDK


这篇关于也许如何生成数据库通知(event/eventHandler)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆