//----------------------------------------------------------------------------
        #region ** ICustomTypeDescriptor

        PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes)
        {
            if (this._pdc == null)
            {
                PropertyDescriptor[] properties = null;
                int count = this._dataSource.EntitySets.Count;
                properties = new PropertyDescriptor[count];
                for (int i = 0; i < count; i++)
                {
                    properties[i] = new EntitySetPropertyDescriptor(this._dataSource.EntitySets[i]);
                }
                this._pdc = new PropertyDescriptorCollection(properties);
            }
            return(this._pdc);
        }
 PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(Attribute[] attributes)
 {
     if (_pdc == null)
     {
         int count = _dataSource.EntitySets.Count;
         var properties = new PropertyDescriptor[count];
         for (int i = 0; i < count; i++)
         {
             properties[i] = new EntitySetPropertyDescriptor(_dataSource.EntitySets[i]);
         }
         _pdc = new PropertyDescriptorCollection(properties);
     }
     return _pdc;
 }