コード例 #1
0
        static APRptReferDef()
        {
            columnIdProp = new APXmlProperty("columnId", typeof(string), "", APXmlPropertyOptions.IsRequired | APXmlPropertyOptions.IsKey);

            properties = new APXmlPropertyCollection();
            properties.Add(columnIdProp);
        }
コード例 #2
0
        static APRptConditionDef()
        {
            logicProp   = new APXmlProperty("logic", typeof(string), "");
            rpnProp     = new APXmlProperty("rpn", typeof(string), "");
            filtersProp = new APXmlProperty("", typeof(APRptFilterDefCollection), null, APXmlPropertyOptions.IsDefaultCollection);

            properties = new APXmlPropertyCollection();
            properties.Add(logicProp);
            properties.Add(rpnProp);
            properties.Add(filtersProp);
        }
コード例 #3
0
        static APRptOrderDef()
        {
            columnIdProp  = new APXmlProperty("columnId", typeof(string), "", APXmlPropertyOptions.IsRequired | APXmlPropertyOptions.IsKey);
            accordingProp = new APXmlProperty("according", typeof(APSqlOrderAccording), APSqlOrderAccording.Asc,
                                              new GenericEnumAPConverter(typeof(APSqlOrderAccording)),
                                              APCVHelper.DefaultValidator,
                                              APXmlPropertyOptions.IsRequired);

            properties = new APXmlPropertyCollection();
            properties.Add(columnIdProp);
            properties.Add(accordingProp);
        }
コード例 #4
0
        static APRptViewDef()
        {
            nameProp      = new APXmlProperty("name", typeof(string), "");
            refersProp    = new APXmlProperty("refers", typeof(APRptReferDefCollection));
            ordersProp    = new APXmlProperty("orders", typeof(APRptOrderDefCollection));
            conditionProp = new APXmlProperty("condition", typeof(APRptConditionDef));

            properties = new APXmlPropertyCollection();
            properties.Add(nameProp);
            properties.Add(refersProp);
            properties.Add(ordersProp);
            properties.Add(conditionProp);
        }
コード例 #5
0
        static APRptFilterDef()
        {
            serialProp     = new APXmlProperty("serial", typeof(string), "", APXmlPropertyOptions.IsRequired | APXmlPropertyOptions.IsKey);
            columnIdProp   = new APXmlProperty("columnId", typeof(string), "", APXmlPropertyOptions.IsRequired);
            comparatorProp = new APXmlProperty("comparator", typeof(APRptFilterComparator), APRptFilterComparator.Equals,
                                               new GenericEnumAPConverter(typeof(APRptFilterComparator)),
                                               APCVHelper.DefaultValidator,
                                               APXmlPropertyOptions.IsRequired);
            valuesProp = new APXmlProperty("values", typeof(string), "");

            properties = new APXmlPropertyCollection();
            properties.Add(serialProp);
            properties.Add(columnIdProp);
            properties.Add(comparatorProp);
            properties.Add(valuesProp);
        }
コード例 #6
0
        static APRptReportDef()
        {
            nameProp          = new APXmlProperty("name", typeof(string), "");
            refersProp        = new APXmlProperty("refers", typeof(APRptReferDefCollection));
            ordersProp        = new APXmlProperty("orders", typeof(APRptOrderDefCollection));
            groupsProp        = new APXmlProperty("groups", typeof(APRptGroupDefCollection));
            conditionProp     = new APXmlProperty("condition", typeof(APRptConditionDef));
            showSummaryProp   = new APXmlProperty("showSummary", typeof(bool), true);
            frameColumnIdProp = new APXmlProperty("frameColumnId", typeof(string), "");
            frameBeginProp    = new APXmlProperty("frameBegin", typeof(string), "");
            frameEndProp      = new APXmlProperty("frameEnd", typeof(string), "");

            properties = new APXmlPropertyCollection();
            properties.Add(nameProp);
            properties.Add(refersProp);
            properties.Add(ordersProp);
            properties.Add(groupsProp);
            properties.Add(showSummaryProp);
            properties.Add(frameColumnIdProp);
            properties.Add(frameBeginProp);
            properties.Add(frameEndProp);
            properties.Add(conditionProp);
        }