Exemple #1
0
        public void Load(IO.IPersistStream stream)
        {
            this.JoinName = (string)stream.Load("joinname", "Join");
            this.Field    = (string)stream.Load("field", String.Empty);
            this.JoinType = (joinType)stream.Load("jointype", (int)joinType.LeftOuterJoin);

            _joinLayerId   = (int)stream.Load("joinlayerid", -1);
            this.JoinField = (string)stream.Load("joinfield", String.Empty);
        }
        public void Load(IO.IPersistStream stream)
        {
            this.JoinName = (string)stream.Load("joinname", "Join");
            this.Field    = (string)stream.Load("field", String.Empty);

            this.JoinConnectionString = (string)stream.Load("joinconnectionstring", String.Empty);
            this.JoinTable            = (string)stream.Load("jointable", String.Empty);
            this.JoinField            = (string)stream.Load("joinfield", String.Empty);
            _fields   = stream.Load("Fields", null, new Fields()) as Fields;
            _joinType = (joinType)stream.Load("jointype", (int)joinType.LeftOuterJoin);
        }
Exemple #3
0
        public void Load(IO.IPersistStream stream)
        {
            this.RelationName = (string)stream.Load("RelationName");

            this.LeftTable      = DatasetElementById((string)stream.Load("LeftMap"), (int)stream.Load("LeftTableId", (int)-1));
            this.LeftTableField = (string)stream.Load("LeftTableField");

            this.RightTable      = DatasetElementById((string)stream.Load("RightMap"), (int)stream.Load("RightTableId", (int)-1));
            this.RightTableField = (string)stream.Load("RightTableField");

            this.LogicalOperator = (string)stream.Load("LogicalOperator", "=");
        }
Exemple #4
0
        public void Load(IO.IPersistStream stream)
        {
            _type               = (chartType)stream.Load("Type", (int)chartType.Pie);
            _sizeType           = (sizeType)stream.Load("SizeType", (int)sizeType.ConstantSize);
            _labelPriority      = (SimpleLabelRenderer.labelPriority)stream.Load("labelPriority", (int)SimpleLabelRenderer.labelPriority.normal);
            _size               = (double)stream.Load("Size", 50D);
            _valueEquatesToSize = (double)stream.Load("ValueEquatesToSize", 100D);

            ValueMapRendererSymbol sym;

            while ((sym = (ValueMapRendererSymbol)stream.Load("ChartSymbol", null, new ValueMapRendererSymbol())) != null)
            {
                this.SetSymbol(sym._key, sym._symbol);
            }
            _outlineSymbol = stream.Load("Outline", null) as ILineSymbol;
        }