private void SetColumns()
        {
            BizColumn bizColumn = new BizColumn();

            cmbColumns.ItemsSource       = bizColumn.GetColumns(EntityID, true);
            cmbColumns.DisplayMemberPath = "Name";
            cmbColumns.SelectedValuePath = "ID";
        }
        private void SetColumns()
        {
            if (cmbEntities.SelectedItem != null)
            {
                var entity  = cmbEntities.SelectedItem as TableDrivedEntityDTO;
                var columns = bizColumn.GetColumns(entity.ID, true);
                columns.Add(null);
                cmbColumns.ItemsSource       = columns;
                cmbColumns.DisplayMemberPath = "Name";
                cmbColumns.SelectedValuePath = "ID";


                cmbConditionalColumns.ItemsSource       = bizColumn.GetColumns(entity.ID, true);
                cmbConditionalColumns.DisplayMemberPath = "Name";
                cmbConditionalColumns.SelectedValuePath = "ID";
            }
        }