private void DumpVar(Var v)
        {
            Dictionary <string, object> attrs = new Dictionary <string, object>();

            attrs.Add("Var", (object)v.Id);
            ColumnVar columnVar = v as ColumnVar;

            if (columnVar != null)
            {
                attrs.Add("Name", (object)columnVar.ColumnMetadata.Name);
                attrs.Add("Type", (object)columnVar.ColumnMetadata.Type.ToString());
            }
            using (new Dump.AutoXml(this, v.GetType().Name, attrs))
                ;
        }
Example #2
0
        private void DumpVar(Var v)
        {
            var attrs = new Dictionary <string, object>();

            attrs.Add("Var", v.Id);
            var cv = v as ColumnVar;

            if (null != cv)
            {
                attrs.Add("Name", cv.ColumnMetadata.Name);
                attrs.Add("Type", cv.ColumnMetadata.Type.ToString());
            }
            using (new AutoXml(this, v.GetType().Name, attrs))
            {
            }
        }