internal override void DumpStructure(ExpressionDumper dumper)
 {
     dumper.Begin(nameof(DbSetClause));
     if (this.Property != null)
     {
         dumper.Dump(this.Property, "Property");
     }
     if (this.Value != null)
     {
         dumper.Dump(this.Value, "Value");
     }
     dumper.End(nameof(DbSetClause));
 }
Exemplo n.º 2
0
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     dumper.Begin("DbSetClause");
     if (null != this.Property)
     {
         dumper.Dump(this.Property, "Property");
     }
     if (null != this.Value)
     {
         dumper.Dump(this.Value, "Value");
     }
     dumper.End("DbSetClause");
 }
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     base.DumpStructure(dumper);
     if (this.Predicate != null)
     {
         dumper.Dump(this.Predicate, "Predicate");
     }
     dumper.Begin("SetClauses", (Dictionary <string, object>)null);
     foreach (DbModificationClause setClause in (IEnumerable <DbModificationClause>) this.SetClauses)
     {
         setClause?.DumpStructure(dumper);
     }
     dumper.End("SetClauses");
     dumper.Dump(this.Returning, "Returning");
 }
Exemplo n.º 4
0
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     if (Target != null)
     {
         dumper.Dump(Target, "Target");
     }
 }
Exemplo n.º 5
0
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     if (Query != null)
     {
         dumper.Dump(Query, "Query");
     }
 }
Exemplo n.º 6
0
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     if (EdmFunction != null)
     {
         dumper.Dump(EdmFunction);
     }
 }
Exemplo n.º 7
0
 internal void Dump(ExpressionDumper dumper)
 {
     dumper.Begin(this.GetType().Name, new Dictionary <string, object>()
     {
         {
             "DataSpace",
             (object)this.DataSpace
         }
     });
     dumper.Begin("Parameters", (Dictionary <string, object>)null);
     foreach (KeyValuePair <string, TypeUsage> parameter in this.Parameters)
     {
         dumper.Begin("Parameter", new Dictionary <string, object>()
         {
             {
                 "Name",
                 (object)parameter.Key
             }
         });
         dumper.Dump(parameter.Value, "ParameterType");
         dumper.End("Parameter");
     }
     dumper.End("Parameters");
     this.DumpStructure(dumper);
     dumper.End(this.GetType().Name);
 }
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     if (this.Target == null)
     {
         return;
     }
     dumper.Dump(this.Target, "Target");
 }
Exemplo n.º 9
0
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     if (this.Query == null)
     {
         return;
     }
     dumper.Dump(this.Query, "Query");
 }
Exemplo n.º 10
0
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     if (this.EdmFunction == null)
     {
         return;
     }
     dumper.Dump(this.EdmFunction);
 }
Exemplo n.º 11
0
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     base.DumpStructure(dumper);
     if (this.Predicate == null)
     {
         return;
     }
     dumper.Dump(this.Predicate, "Predicate");
 }
Exemplo n.º 12
0
        internal override void DumpStructure(ExpressionDumper dumper)
        {
            base.DumpStructure(dumper);

            if (Predicate != null)
            {
                dumper.Dump(Predicate, "Predicate");
            }
        }
Exemplo n.º 13
0
        internal override void DumpStructure(ExpressionDumper dumper)
        {
            base.DumpStructure(dumper);

            if (Predicate != null)
            {
                dumper.Dump(Predicate, "Predicate");
            }

            dumper.Begin("SetClauses", null);
            foreach (var clause in SetClauses)
            {
                if (null != clause)
                {
                    clause.DumpStructure(dumper);
                }
            }
            dumper.End("SetClauses");

            dumper.Dump(Returning, "Returning");
        }
Exemplo n.º 14
0
 internal override void DumpStructure(ExpressionDumper dumper)
 {
     base.DumpStructure(dumper);
     dumper.Begin("SetClauses");
     foreach (DbModificationClause setClause in (IEnumerable <DbModificationClause>) this.SetClauses)
     {
         setClause?.DumpStructure(dumper);
     }
     dumper.End("SetClauses");
     if (this.Returning == null)
     {
         return;
     }
     dumper.Dump(this.Returning, "Returning");
 }
Exemplo n.º 15
0
        internal override void DumpStructure(ExpressionDumper dumper)
        {
            base.DumpStructure(dumper);

            dumper.Begin("SetClauses");
            foreach (DbModificationClause clause in this.SetClauses)
            {
                if (null != clause)
                {
                    clause.DumpStructure(dumper);
                }
            }
            dumper.End("SetClauses");

            if (null != this.Returning)
            {
                dumper.Dump(this.Returning, "Returning");
            }
        }
Exemplo n.º 16
0
        internal void Dump(ExpressionDumper dumper)
        {
            //
            // Dump information about this command tree to the specified ExpressionDumper
            //
            // First dump standard information - the DataSpace of the command tree and its parameters
            //
            Dictionary <string, object> attrs = new Dictionary <string, object>();

            attrs.Add("DataSpace", this.DataSpace);
            dumper.Begin(this.GetType().Name, attrs);

            //
            // The name and type of each Parameter in turn is added to the output
            //
            dumper.Begin("Parameters", null);
            foreach (KeyValuePair <string, TypeUsage> param in this.Parameters)
            {
                Dictionary <string, object> paramAttrs = new Dictionary <string, object>();
                paramAttrs.Add("Name", param.Key);
                dumper.Begin("Parameter", paramAttrs);
                dumper.Dump(param.Value, "ParameterType");
                dumper.End("Parameter");
            }
            dumper.End("Parameters");

            //
            // Delegate to the derived type's implementation that dumps the structure of the command tree
            //
            this.DumpStructure(dumper);

            //
            // Matching call to End to correspond with the call to Begin above
            //
            dumper.End(this.GetType().Name);
        }