UpdatePropertyDescriptorCollectionCache() private method

private UpdatePropertyDescriptorCollectionCache ( ) : void
return void
Exemplo n.º 1
0
 internal void OnRelationPropertyChanged(CollectionChangeEventArgs ccevent)
 {
     if (!_fParentCollection)
     {
         _table.UpdatePropertyDescriptorCollectionCache();
     }
     RelationPropertyChanged?.Invoke(this, ccevent);
 }
Exemplo n.º 2
0
        /// <summary>
        /// Raises the <see cref='System.Data.DataColumnCollection.OnCollectionChanged'/> event.
        /// </summary>
        private void OnCollectionChanged(CollectionChangeEventArgs ccevent)
        {
            _table.UpdatePropertyDescriptorCollectionCache();

            if ((null != ccevent) && !_table.SchemaLoading && !_table.fInitInProgress)
            {
                DataColumn column = (DataColumn)ccevent.Element;
            }

            CollectionChanged?.Invoke(this, ccevent);
        }
Exemplo n.º 3
0
 internal void OnRelationPropertyChanged(CollectionChangeEventArgs ccevent)
 {
     if (!fParentCollection)
     {
         table.UpdatePropertyDescriptorCollectionCache();
     }
     if (onRelationPropertyChangedDelegate != null)
     {
         onRelationPropertyChangedDelegate(this, ccevent);
     }
 }
Exemplo n.º 4
0
 /// <include file='doc\DataColumnCollection.uex' path='docs/doc[@for="DataColumnCollection.OnCollectionChanged"]/*' />
 /// <devdoc>
 ///    <para>
 ///       Raises the <see cref='System.Data.DataColumnCollection.OnCollectionChanged'/> event.
 ///    </para>
 /// </devdoc>
 protected virtual void OnCollectionChanged(CollectionChangeEventArgs ccevent)
 {
     table.UpdatePropertyDescriptorCollectionCache();
     if (!table.SchemaLoading && !table.fInitInProgress)
     {
         columnQueue = new ColumnQueue(table, columnQueue);
     }
     if (onCollectionChangedDelegate != null)
     {
         onCollectionChangedDelegate(this, ccevent);
     }
 }
Exemplo n.º 5
0
        /// <summary>
        /// Raises the <see cref='System.Data.DataColumnCollection.OnCollectionChanged'/> event.
        /// </summary>
        private void OnCollectionChanged(CollectionChangeEventArgs ccevent)
        {
            _table.UpdatePropertyDescriptorCollectionCache();

            CollectionChanged?.Invoke(this, ccevent);
        }