Пример #1
0
 //
 // Internal methods and properties
 //
 internal void OnNotice(object O, NpgsqlNoticeEventArgs E)
 {
     if (Notice != null)
     {
         Notice(this, E);
     }
 }
Пример #2
0
 //
 // Internal methods and properties
 //
 internal void OnNotice(object o, NpgsqlNoticeEventArgs e)
 {
     if (Notice != null)
     {
         Notice(this, e);
     }
 }
Пример #3
0
 //
 // Internal methods and properties
 //
 internal void OnNotice(object O, NpgsqlNoticeEventArgs E)
 {
     if (Notice != null)
     {
         Notice(this, E);
     }
 }
Пример #4
0
        private void Connection_Notice(object sender, NpgsqlNoticeEventArgs e)
        {
            EventHandler<DbNotificationArgs> listen = this.Listen;

            if (listen != null)
            {
                DbNotificationArgs args = new DbNotificationArgs
                {
                    Notice = e.Notice,
                    Message = e.Notice.Message
                };

                listen(this, args);
            }
        }
Пример #5
0
        private void Connection_Notice(object sender, NpgsqlNoticeEventArgs e)
        {
            var listen = this.Listen;

            if (listen == null) return;

            var args = new DbNotificationArgs
            {
                Notice = e.Notice,
                ColumnName = e.Notice.ColumnName
            };

            listen(this, args);
        }
Пример #6
0
 //
 // Internal methods and properties
 //
 internal void OnNotice(object o, NpgsqlNoticeEventArgs e)
 {
     if (Notice != null)
     {
         Notice(this, e);
     }
 }