private void Fields() { List <DpoField> imageFields = new List <DpoField>(); foreach (IColumn column in metaTable.Columns) { DpoField field = new DpoField(this, column); field.GenerateField(); if (column.CType == CType.Image) { imageFields.Add(field); } } if (imageFields.Count > 0) { clss.AddMember("#region IMAGE PROPERTIES"); foreach (DpoField field in imageFields) { field.GenerateImageField(); } clss.AddMember("#endregion"); } return; }
private void ConstStringColumnNames() { clss.AddMember("#region CONSTANT"); foreach (IColumn column in metaTable.Columns) { DpoField field = new DpoField(this, column); field.GetConstStringColumnName(); } clss.AddMember("#endregion"); return; }
private void Fields() { List<DpoField> imageFields = new List<DpoField>(); foreach (IColumn column in metaTable.Columns) { DpoField field = new DpoField(this, column); field.GenerateField(); if (column.CType == CType.Image) imageFields.Add(field); } if (imageFields.Count > 0) { clss.AddMember("#region IMAGE PROPERTIES"); foreach (DpoField field in imageFields) { field.GenerateImageField(); } clss.AddMember("#endregion"); } return; }