示例#1
0
        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;
        }
示例#2
0
        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;
        }
示例#3
0
        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;
        }
示例#4
0
        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;
        }