System.Data.Common.CommandTrees.Internal.ExpressionDumper.Dump(System.Data.Metadata.Edm.EdmType)

Here are the examples of the csharp api class System.Data.Common.CommandTrees.Internal.ExpressionDumper.Dump(System.Data.Metadata.Edm.EdmType) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

1. Example

Project: referencesource
Source File: ExpressionDumper.cs
View license
internal void Dump(EdmType type, string name)
        {
            Begin(name);
            Dump(type);
            End(name);
        }

2. Example

Project: referencesource
Source File: ExpressionDumper.cs
View license
internal void Dump(TypeUsage type)
        {
            Dictionary<string, object> facetInfo = new Dictionary<string, object>();
            foreach (Facet facet in type.Facets)
            {
                facetInfo.Add(facet.Name, facet.Value);
            }

            Begin("TypeUsage", facetInfo);
            Dump(type.EdmType);   
            End("TypeUsage");
        }