Exemplo n.º 1
0
        public ViewDTO(BaseTableDTO baseTable, byte[] binaryViewHeader)
        {
            Utils.CheckNotNull(baseTable, "baseTable");
            Utils.CheckNotNull(binaryViewHeader, "binaryViewHeader");

            TableName        = baseTable.TableName;
            Header           = baseTable.Header;
            BodyPackets      = baseTable.BodyPackets;
            BinaryViewHeader = binaryViewHeader;
        }
Exemplo n.º 2
0
        public ChartTableDTO
            (long viewId, string lang, BaseTableDTO baseTable, byte[] chartSettings, DBChartType?chartType, Dictionary <string, object> textPatterns, int width, int height)
        {
            Utils.CheckNotNull(baseTable, "baseTable");

            ViewId        = viewId;
            Lang          = lang;
            ChartSettings = chartSettings;
            ChartType     = chartType;
            TextPatterns  = textPatterns;
            Width         = width;
            Height        = height;

            TableName   = baseTable.TableName;
            Header      = baseTable.Header;
            BodyPackets = baseTable.BodyPackets;
        }