Exemple #1
0
 private void createDefault(string p_ColumnName, string p_FiledName, int p_Width, bool p_AllowEdit,FormatType p_type)
 {
     _Column col = new _Column();
     col.ColumnName = p_ColumnName;
     col.FiledName = p_FiledName;
     col.ColumnWidth = p_Width;
     col.IsEdit = p_AllowEdit;
     col.FormatType = p_type;
     //添加到列对象中
     this.Columns.Add(col);
 }
 public _ColumnWithValue(_Column entityColumn, _Column foreignColumn, object foreignEntity)
 {
     this.EntityColumn  = entityColumn;
     this.ForeignColumn = foreignColumn;
     this.ForeignEntity = foreignEntity;
 }