Exemplo n.º 1
0
        internal string TraceString()
        {
            var sb = new StringBuilder("[" + typeof(EntityTypeIdentity).Name);

            sb.Append(
                " " + EFToolsTraceUtils.FormatNamedEnumerable(
                    "tablesAndViews", _tablesAndViews.Keys, delegate(DatabaseObject dbObj) { return(dbObj.ToString()); }));

            return(sb.ToString());
        }
Exemplo n.º 2
0
        internal string TraceString()
        {
            var sb = new StringBuilder("[AssociationEndIdentity");

            sb.Append(
                EFToolsTraceUtils.FormatNamedEnumerable(
                    "propertyIdentities", _propertyIdentities,
                    delegate(AssociationPropertyIdentity assocPropId) { return(assocPropId.TraceString()); }));
            return(sb.ToString());
        }
        internal string TraceString()
        {
            var sb = new StringBuilder("[" + typeof(ReferentialConstraintIdentity).Name);

            sb.Append(
                " " + EFToolsTraceUtils.FormatNamedEnumerable(
                    "propertyIdentities", _propertyIdentities,
                    delegate(AssociationPropertyIdentity assocPropId) { return(assocPropId.TraceString()); }));

            return(sb.ToString());
        }
Exemplo n.º 4
0
        internal string TraceString()
        {
            var sb = new StringBuilder("[AssociationPropertyIdentity");

            sb.Append(
                " " + EFToolsTraceUtils.FormatNamedEnumerable(
                    "principalColumns", _principalColumns, delegate(DatabaseColumn dc) { return(dc.ToString()); }));
            sb.Append(
                ", " + EFToolsTraceUtils.FormatNamedEnumerable(
                    "dependentColumns", _dependentColumns, delegate(DatabaseColumn dc) { return(dc.ToString()); }));
            sb.Append("]");

            return(sb.ToString());
        }
Exemplo n.º 5
0
        internal string TraceString()
        {
            var sb = new StringBuilder(
                "[" + typeof(EntityTypeClipboardFormat).Name +
                " entityName=" + _entityName +
                ", entitySetName=" + _entitySetName +
                ", entityTypeShapeFillColor=" + _entityTypeShapeFillColor);

            sb.Append(
                " " + EFToolsTraceUtils.FormatNamedEnumerable(
                    "properties", _properties, pcf => pcf.TraceString()));

            sb.Append(
                ", " + EFToolsTraceUtils.FormatNamedEnumerable(
                    "navigationProperties", _navigationProperties,
                    npcf => npcf.TraceString()));

            sb.Append("]");

            return(sb.ToString());
        }