Пример #1
0
        private void SetupSQLDependency()
        {
            DataBaseContext context = new DataBaseContext();

            NotificationManager notificationManager = new NotificationManager(new Data.DataBaseContext());

            notificationManager.NotificationOnChanged += NotificationManager_NotificationOnChanged;
            notificationManager.ActivateImmediateNotification();
        }