예제 #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
파일: DbOperation.cs 프로젝트: roczj/mixerp
        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);
     }
 }