public override DataControlFieldsEditor.FieldItem CreateField()
 {
     CheckBoxField runtimeField = new CheckBoxField();
     string name = string.Empty;
     if (this._fieldSchema != null)
     {
         name = this._fieldSchema.Name;
     }
     if (!this._genericCheckBoxField)
     {
         runtimeField.HeaderText = name;
         runtimeField.DataField = name;
         runtimeField.SortExpression = name;
     }
     if (this._fieldSchema != null)
     {
         if (this._fieldSchema.PrimaryKey)
         {
             runtimeField.ReadOnly = true;
         }
         if (this._fieldSchema.Identity)
         {
             runtimeField.InsertVisible = false;
         }
     }
     DataControlFieldsEditor.FieldItem item = new DataControlFieldsEditor.CheckBoxFieldItem(this._fieldsEditor, runtimeField);
     item.LoadFieldInfo();
     return item;
 }