124 references to StringUtil
System.Data.Entity (124)
System\Data\Common\CommandTrees\DbCommandTree.cs (1)
199return (!StringUtil.IsNullOrEmptyOrWhiteSpace(name) &&
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (10)
57argumentName = StringUtil.FormatIndex(argumentName, argumentIndex); 85argumentName = StringUtil.FormatIndex(argumentName, index); 376if (StringUtil.IsNullOrEmptyOrWhiteSpace(collation)) 400throw EntityUtil.ArgumentNull(StringUtil.FormatIndex("variables", idx)); 487ValidateBinding(input, StringUtil.FormatIndex("inputs", iPos)); 1658EntityUtil.CheckArgumentNull(relatedRef, StringUtil.FormatIndex("relationships", idx)); 1666throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_NewInstance_IncompatibleRelatedEntity_SourceTypeNotValid, StringUtil.FormatIndex("relationships", idx)); 1746argumentName = StringUtil.FormatIndex(argumentName, index); 1755argumentName = StringUtil.FormatIndex(argumentName, index); 1899CheckParameter(functionParams[idx], StringUtil.FormatIndex("function.Parameters", idx));
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\EnumerableValidator.cs (2)
132throw EntityUtil.ArgumentNull(StringUtil.FormatIndex(argumentName, pos)); 147StringUtil.FormatIndex(argumentName, pos)
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
409bindingInfos.Add(this.VisitBinding(StringUtil.FormatIndex(propName, idx), bindings[idx]));
System\Data\Common\Utils\Boolean\BoolExpr.cs (2)
293return StringUtil.FormatInvariant("{0}", _identifier); 360return StringUtil.FormatInvariant("{0}({1})", ExprType, _children);
System\Data\Common\Utils\Boolean\DomainConstraint.cs (2)
74return StringUtil.FormatInvariant("{0}{{{1}}}", 150return StringUtil.FormatInvariant("{0} in [{1}]",
System\Data\Common\Utils\Boolean\KnowledgeBase.cs (2)
127return StringUtil.FormatInvariant("{0} --> {1}", _condition, _implies); 148return StringUtil.FormatInvariant("{0} <--> {1}", _left, _right);
System\Data\Common\Utils\Boolean\Literal.cs (1)
75return StringUtil.FormatInvariant("{0}{1}",
System\Data\Common\Utils\Boolean\Vertex.cs (1)
137return String.Format(CultureInfo.InvariantCulture, "<{0}, {1}>", Variable, StringUtil.ToCommaSeparatedString(Children));
System\Data\Common\Utils\KeyToListMap.cs (2)
131StringUtil.FormatStringBuilder(builder, "{0}", key); 134StringUtil.ToSeparatedString(builder, values, ",", "null");
System\Data\Common\Utils\ModifiableIteratorCollection.cs (1)
105StringUtil.ToCommaSeparatedString(builder, m_elements);
System\Data\Common\Utils\Set.cs (1)
361StringUtil.ToCommaSeparatedStringSorted(builder, this);
System\Data\Common\Utils\StringUtil.cs (1)
90StringUtil.ToCommaSeparatedString(builder, members);
System\Data\EntityModel\SchemaObjectModel\Documentation.cs (1)
80if (!StringUtil.IsNullOrEmptyOrWhiteSpace(text))
System\Data\Mapping\FunctionImportMapping.cs (4)
234string lines = StringUtil.ToCommaSeparatedString(unreachableEntityType.Value.Select(li => li.LineNumber)); 248string lines = StringUtil.ToCommaSeparatedString(unreachableIsTypeOf.Value.Select(li => li.LineNumber)); 555StringUtil.ToCommaSeparatedString(this.ColumnConditions), StringUtil.ToCommaSeparatedString(this.ImpliedEntityTypes));
System\Data\Mapping\StorageMappingItemLoader.cs (6)
597StringUtil.ToCommaSeparatedString(violationNames), StorageMappingErrorCode.AmbiguousModificationFunctionMappingForAssociationSet, 667StringUtil.ToCommaSeparatedString(setMappingPerTable.ListForKey(table) 775StringUtil.ToCommaSeparatedString(setsRequiringQueryViews), 918StringUtil.ToCommaSeparatedString(unmappedTypes), 3866property.Name, StringUtil.ToCommaSeparatedString(columnNames), 3896m_function.FullName, StringUtil.ToCommaSeparatedString(unmappedParameters),
System\Data\Mapping\StorageModificationFunctionMapping.cs (3)
186StringUtil.ToCommaSeparatedStringSorted(ParameterBindings), 187StringUtil.ToCommaSeparatedStringSorted(ResultBindings)); 326StringUtil.BuildDelimitedList(Members, null, "."));
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (1)
483AssociationSet.Name, FromEnd.Name, ToEnd.Name, StringUtil.BuildDelimitedList(ToEntityKey.EntityKeyValues, null, null));
System\Data\Mapping\Update\Internal\UndirectedGraph.cs (1)
113return StringUtil.FormatInvariant("{0}", componentNum);
System\Data\Mapping\ViewGeneration\ConfigViewGenerator.cs (1)
188StringUtil.FormatStringBuilder(builder, "Trace Switch: {0}", m_traceLevel);
System\Data\Mapping\ViewGeneration\CqlGeneration\AliasedSlot.cs (1)
103StringUtil.FormatStringBuilder(builder, "{0} ", m_block.CqlAlias);
System\Data\Mapping\ViewGeneration\CqlGeneration\BooleanProjectedSlot.cs (1)
93StringUtil.FormatStringBuilder(builder, "<{0}, ", m_originalCell.SlotName);
System\Data\Mapping\ViewGeneration\CqlGeneration\CaseCqlBlock.cs (3)
45StringUtil.IndentNewLine(builder, indentLevel); 62StringUtil.IndentNewLine(builder, indentLevel); 68StringUtil.IndentNewLine(builder, indentLevel);
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlBlock.cs (4)
118Debug.Assert(this.IsProjected(slotNum), StringUtil.FormatInvariant("Slot {0} that is to be qualified with the block alias is not projected in this block", slotNum)); 164StringUtil.IndentNewLine(builder, indentLevel + 1); 181StringUtil.IndentNewLine(builder, indentLevel); 228StringUtil.FormatStringBuilder(builder, "{0}: ", i);
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlIdentifiers.cs (3)
71string result = number < 0 ? prefix : StringUtil.FormatInvariant("{0}{1}", prefix, number); 83result = StringUtil.FormatInvariant("{0}_{1}", prefix, count); 87result = StringUtil.FormatInvariant("{0}_{1}_{2}", prefix, count, number);
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlWriter.cs (1)
32string result = StringUtil.FormatInvariant("{0}.{1}", blockName, field);
System\Data\Mapping\ViewGeneration\CqlGeneration\ExtentCqlBlock.cs (2)
55StringUtil.IndentNewLine(builder, indentLevel); 71StringUtil.IndentNewLine(builder, indentLevel);
System\Data\Mapping\ViewGeneration\CqlGeneration\JoinCqlBlock.cs (5)
52StringUtil.IndentNewLine(builder, indentLevel); 61StringUtil.IndentNewLine(builder, indentLevel); 70StringUtil.IndentNewLine(builder, indentLevel + 1); 81StringUtil.IndentNewLine(builder, indentLevel + 1); 206StringUtil.ToSeparatedString(builder, m_singleClauses, " AND ");
System\Data\Mapping\ViewGeneration\CqlGeneration\UnionCqlBlock.cs (1)
45StringUtil.IndentNewLine(builder, indentLevel + 1);
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (4)
411string extentName = StringUtil.FormatInvariant("{0}", _extentPath); 483string extentName = StringUtil.FormatInvariant("{0}", _extentPath); 485string attributesString = StringUtil.ToCommaSeparatedString(GetTypeBasedMemberPathList(attributes)); 562string extentName = StringUtil.FormatInvariant("{0}", _extentPath);
System\Data\Mapping\ViewGeneration\QueryRewriting\RewritingValidator.cs (1)
93string extentName = StringUtil.FormatInvariant("{0}", _viewgenContext.Extent);
System\Data\Mapping\ViewGeneration\Structures\BoolExpressionVisitors.cs (1)
684StringUtil.ToSeparatedStringSorted(m_builder, childrenStrings, " " + opAsString + " ");
System\Data\Mapping\ViewGeneration\Structures\CaseStatement.cs (3)
241StringUtil.IndentNewLine(builder, indentLevel + 2); 250StringUtil.IndentNewLine(builder, indentLevel + 2); 254StringUtil.IndentNewLine(builder, indentLevel + 1);
System\Data\Mapping\ViewGeneration\Structures\Cell.cs (2)
104get { return StringUtil.FormatInvariant("V{0}", CellNumber); } 231StringUtil.FormatStringBuilder(builder, "Mapping Cell V{0}:", cell.CellNumber);
System\Data\Mapping\ViewGeneration\Structures\CellQuery.cs (3)
834StringUtil.FormatStringBuilder(stringBuilder, "C{0}", i); 859StringUtil.ToSeparatedString(builder, m_projectedSlots, ", ", "_"); 864StringUtil.ToSeparatedString(builder, m_boolExprs, ", ", "_");
System\Data\Mapping\ViewGeneration\Structures\ErrorLog.cs (3)
205StringUtil.FormatStringBuilder(builder, " ({0}): ", (int)errorCode); 215StringUtil.FormatStringBuilder(builder, "Problem in Mapping Fragments starting at lines {0}: ", lineBuilder.ToString()); 219StringUtil.FormatStringBuilder(builder, "Problem in Mapping Fragment starting at line {0}: ", lineBuilder.ToString());
System\Data\Mapping\ViewGeneration\Structures\LeftCellWrapper.cs (2)
107return StringUtil.ToSeparatedString(m_mergedCells.Select(cell => cell.CellNumberAsString), "+", ""); 229StringUtil.ToSeparatedString(builder, m_attributes, ",");
System\Data\Mapping\ViewGeneration\Structures\MemberDomainMap.cs (1)
407StringUtil.ToCommaSeparatedStringSorted(builder, domain);
System\Data\Mapping\ViewGeneration\Structures\MemberProjectionIndex.cs (1)
176StringUtil.ToCommaSeparatedString(builder, m_members);
System\Data\Mapping\ViewGeneration\Structures\NegatedConstant.cs (1)
296StringUtil.ToCommaSeparatedStringSorted(builder, m_negatedDomain);
System\Data\Mapping\ViewGeneration\Structures\OpCellTreeNode.cs (1)
652StringUtil.FormatStringBuilder(stringBuilder, " {0} ", OpType);
System\Data\Mapping\ViewGeneration\Structures\ScalarConstant.cs (4)
87string value = StringUtil.FormatInvariant("{0}", val); 129string value = StringUtil.FormatInvariant("{0}", m_scalar); 135StringUtil.FormatStringBuilder(builder, "'{0}'", value); 178builder.Append(StringUtil.FormatInvariant("'{0}'", m_scalar));
System\Data\Mapping\ViewGeneration\Structures\ScalarRestriction.cs (1)
335StringUtil.ToCommaSeparatedStringSorted(builder, Domain.Values);
System\Data\Mapping\ViewGeneration\Structures\TypeRestriction.cs (1)
236StringUtil.ToCommaSeparatedStringSorted(builder, Domain.Values);
System\Data\Mapping\ViewGeneration\Structures\WithStatement.cs (2)
65StringUtil.IndentNewLine(builder, indentLevel + 1); 77StringUtil.ToSeparatedString(builder, fields, ", ", null);
System\Data\Mapping\ViewGeneration\Validation\BasicCellRelation.cs (1)
163StringUtil.FormatStringBuilder(builder, "{0}", m_slots[0]);
System\Data\Mapping\ViewGeneration\Validation\ErrorPatternMatcher.cs (1)
494StringUtil.ToCommaSeparatedString(edmTypesForErrorString), fragment1.LeftExtent
System\Data\Mapping\ViewGeneration\Validation\ExtentKey.cs (2)
96string result = StringUtil.ToCommaSeparatedStringSorted(m_keyFields); 102StringUtil.ToCommaSeparatedStringSorted(builder, m_keyFields);
System\Data\Mapping\ViewGeneration\Validation\KeyConstraint.cs (2)
54StringUtil.FormatStringBuilder(builder, "Key (V{0}) - ", m_relation.CellNumber); 55StringUtil.ToSeparatedStringSorted(builder, KeySlots, ", ");
System\Data\Mapping\ViewGeneration\Validation\ViewCellSlot.cs (2)
105string result = StringUtil.FormatInvariant("{0}", actualSlot); 139StringUtil.FormatStringBuilder(builder, "{0}", m_slotNum);
System\Data\Mapping\ViewGeneration\Validation\ViewKeyConstraint.cs (2)
130string debugMessage = StringUtil.FormatInvariant("PROBLEM: Not implied {0}", rightKeyConstraint); 186string debugMessage = StringUtil.FormatInvariant("PROBLEM: Not implied {0}", rightKeyConstraint);
System\Data\Objects\Internal\EntitySqlQueryBuilder.cs (8)
202Debug.Assert(!StringUtil.IsNullOrEmptyOrWhiteSpace(alias), "Invalid alias"); 203Debug.Assert(!StringUtil.IsNullOrEmptyOrWhiteSpace(projection), "Invalid projection"); 234Debug.Assert(!StringUtil.IsNullOrEmptyOrWhiteSpace(alias), "Invalid alias"); 235Debug.Assert(!StringUtil.IsNullOrEmptyOrWhiteSpace(predicateOrKeys), "Invalid predicate/keys"); 333Debug.Assert(!StringUtil.IsNullOrEmptyOrWhiteSpace(alias), "Invalid alias"); 334Debug.Assert(!StringUtil.IsNullOrEmptyOrWhiteSpace(alias), "Invalid keys"); 335Debug.Assert(!StringUtil.IsNullOrEmptyOrWhiteSpace(projection), "Invalid projection"); 482Debug.Assert(!StringUtil.IsNullOrEmptyOrWhiteSpace(count), "Invalid skip count");
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (9)
305if (StringUtil.IsNullOrEmptyOrWhiteSpace(keys)) 310if (StringUtil.IsNullOrEmptyOrWhiteSpace(projection)) 405if (StringUtil.IsNullOrEmptyOrWhiteSpace(keys)) 437if (StringUtil.IsNullOrEmptyOrWhiteSpace(projection)) 469if (StringUtil.IsNullOrEmptyOrWhiteSpace(projection)) 510if (StringUtil.IsNullOrEmptyOrWhiteSpace(keys)) 515if (StringUtil.IsNullOrEmptyOrWhiteSpace(count)) 547if (StringUtil.IsNullOrEmptyOrWhiteSpace(count)) 625if (StringUtil.IsNullOrEmptyOrWhiteSpace(predicate))
System\Data\Query\InternalTrees\ColumnMap.cs (1)
512sb.AppendFormat(CultureInfo.InvariantCulture, "P{{TypeId=<{0}>, ", StringUtil.ToCommaSeparatedString(this.TypeDiscriminators));