2999 references to EntityUtil
System.Data.Entity (2999)
System\Data\Common\CommandTrees\AbstractExpressions.cs (1)
720throw EntityUtil.InvalidEnumerationValue(typeof(DbExpressionKind), (int)kind);
System\Data\Common\CommandTrees\BasicCommandTreeVisitor.cs (10)
26EntityUtil.CheckArgumentNull(setClause, "setClause"); 33EntityUtil.CheckArgumentNull(modificationClause, "modificationClause"); 40EntityUtil.CheckArgumentNull(modificationClauses, "modificationClauses"); 53EntityUtil.CheckArgumentNull(commandTree, "commandTree"); 77throw EntityUtil.NotSupported(); 87EntityUtil.CheckArgumentNull(deleteTree, "deleteTree"); 95EntityUtil.CheckArgumentNull(functionTree, "functionTree"); 101EntityUtil.CheckArgumentNull(insertTree, "insertTree"); 113EntityUtil.CheckArgumentNull(queryTree, "queryTree"); 119EntityUtil.CheckArgumentNull(updateTree, "updateTree");
System\Data\Common\CommandTrees\BasicExpressionVisitor.cs (34)
29VisitExpression(EntityUtil.CheckArgumentNull(expression, "expression").Argument); 39EntityUtil.CheckArgumentNull(expression, "expression"); 52EntityUtil.CheckArgumentNull(binding, "binding"); 71EntityUtil.CheckArgumentNull(binding, "binding"); 98EntityUtil.CheckArgumentNull(lambda, "lambda"); 121EntityUtil.CheckArgumentNull(expression, "expression").Accept(this); 131EntityUtil.CheckArgumentNull(expressionList, "expressionList"); 145EntityUtil.CheckArgumentNull(aggregates, "aggregates"); 160VisitExpressionList(EntityUtil.CheckArgumentNull(aggregate, "aggregate").Arguments); 189EntityUtil.CheckArgumentNull(expression, "expression"); 191throw EntityUtil.NotSupported(System.Data.Entity.Strings.Cqt_General_UnsupportedExpression(expression.GetType().FullName)); 202EntityUtil.CheckArgumentNull(expression, "expression"); 213EntityUtil.CheckArgumentNull(expression, "expression"); 224EntityUtil.CheckArgumentNull(expression, "expression"); 235EntityUtil.CheckArgumentNull(expression, "expression"); 246EntityUtil.CheckArgumentNull(expression, "expression"); 259EntityUtil.CheckArgumentNull(expression, "expression"); 295EntityUtil.CheckArgumentNull(expression, "expression"); 321EntityUtil.CheckArgumentNull(expression, "expression"); 336EntityUtil.CheckArgumentNull(expression, "expression"); 359VisitExpressionList(EntityUtil.CheckArgumentNull(expression, "expression").Arguments); 500EntityUtil.CheckArgumentNull(expression, "expression"); 516EntityUtil.CheckArgumentNull(expression, "expression"); 543VisitExpression(EntityUtil.CheckArgumentNull(expression, "expression").NavigationSource); 584EntityUtil.CheckArgumentNull(expression, "expression"); 595EntityUtil.CheckArgumentNull(expression, "expression"); 610EntityUtil.CheckArgumentNull(expression, "expression"); 625EntityUtil.CheckArgumentNull(expression, "expression"); 646EntityUtil.CheckArgumentNull(expression, "expression"); 665EntityUtil.CheckArgumentNull(expression, "expression"); 686EntityUtil.CheckArgumentNull(expression, "expression"); 703EntityUtil.CheckArgumentNull(expression, "expression"); 722EntityUtil.CheckArgumentNull(expression, "expression"); 740EntityUtil.CheckArgumentNull(expression, "expression");
System\Data\Common\CommandTrees\DbCommandTree.cs (2)
50EntityUtil.CheckArgumentNull(metadata, "metadata"); 55throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_CommandTree_InvalidDataSpace, "dataSpace");
System\Data\Common\CommandTrees\DbDeleteCommandTree.cs (1)
30EntityUtil.CheckArgumentNull(predicate, "predicate");
System\Data\Common\CommandTrees\DbExpressionVisitor.cs (1)
165throw EntityUtil.NotSupported();
System\Data\Common\CommandTrees\DbExpressionVisitor_TResultType.cs (1)
189throw EntityUtil.NotSupported();
System\Data\Common\CommandTrees\DbFunctionCommandTree.cs (1)
45EntityUtil.CheckArgumentNull(edmFunction, "edmFunction");
System\Data\Common\CommandTrees\DbInsertCommandTree.cs (1)
36EntityUtil.CheckArgumentNull(setClauses, "setClauses");
System\Data\Common\CommandTrees\DbLambda.cs (152)
100EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 101EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 122EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 123EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 124EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 146EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 147EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 148EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 149EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 172EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 173EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 174EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 175EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 176EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 200EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 201EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 202EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 203EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 204EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 205EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 231EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 232EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 233EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 234EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 235EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 236EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 237EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 264EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 265EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 266EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 267EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 268EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 269EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 270EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 271EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 299EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 300EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 301EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 302EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 303EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 304EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 305EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 306EntityUtil.CheckArgumentNull(argument8Type, "argument8Type"); 307EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 337EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 338EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 339EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 340EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 341EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 342EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 343EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 344EntityUtil.CheckArgumentNull(argument8Type, "argument8Type"); 345EntityUtil.CheckArgumentNull(argument9Type, "argument9Type"); 346EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 377EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 378EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 379EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 380EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 381EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 382EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 383EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 384EntityUtil.CheckArgumentNull(argument8Type, "argument8Type"); 385EntityUtil.CheckArgumentNull(argument9Type, "argument9Type"); 386EntityUtil.CheckArgumentNull(argument10Type, "argument10Type"); 387EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 419EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 420EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 421EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 422EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 423EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 424EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 425EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 426EntityUtil.CheckArgumentNull(argument8Type, "argument8Type"); 427EntityUtil.CheckArgumentNull(argument9Type, "argument9Type"); 428EntityUtil.CheckArgumentNull(argument10Type, "argument10Type"); 429EntityUtil.CheckArgumentNull(argument11Type, "argument11Type"); 430EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 464EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 465EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 466EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 467EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 468EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 469EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 470EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 471EntityUtil.CheckArgumentNull(argument8Type, "argument8Type"); 472EntityUtil.CheckArgumentNull(argument9Type, "argument9Type"); 473EntityUtil.CheckArgumentNull(argument10Type, "argument10Type"); 474EntityUtil.CheckArgumentNull(argument11Type, "argument11Type"); 475EntityUtil.CheckArgumentNull(argument12Type, "argument12Type"); 476EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 511EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 512EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 513EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 514EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 515EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 516EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 517EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 518EntityUtil.CheckArgumentNull(argument8Type, "argument8Type"); 519EntityUtil.CheckArgumentNull(argument9Type, "argument9Type"); 520EntityUtil.CheckArgumentNull(argument10Type, "argument10Type"); 521EntityUtil.CheckArgumentNull(argument11Type, "argument11Type"); 522EntityUtil.CheckArgumentNull(argument12Type, "argument12Type"); 523EntityUtil.CheckArgumentNull(argument13Type, "argument13Type"); 524EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 560EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 561EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 562EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 563EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 564EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 565EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 566EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 567EntityUtil.CheckArgumentNull(argument8Type, "argument8Type"); 568EntityUtil.CheckArgumentNull(argument9Type, "argument9Type"); 569EntityUtil.CheckArgumentNull(argument10Type, "argument10Type"); 570EntityUtil.CheckArgumentNull(argument11Type, "argument11Type"); 571EntityUtil.CheckArgumentNull(argument12Type, "argument12Type"); 572EntityUtil.CheckArgumentNull(argument13Type, "argument13Type"); 573EntityUtil.CheckArgumentNull(argument14Type, "argument14Type"); 574EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 612EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 613EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 614EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 615EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 616EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 617EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 618EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 619EntityUtil.CheckArgumentNull(argument8Type, "argument8Type"); 620EntityUtil.CheckArgumentNull(argument9Type, "argument9Type"); 621EntityUtil.CheckArgumentNull(argument10Type, "argument10Type"); 622EntityUtil.CheckArgumentNull(argument11Type, "argument11Type"); 623EntityUtil.CheckArgumentNull(argument12Type, "argument12Type"); 624EntityUtil.CheckArgumentNull(argument13Type, "argument13Type"); 625EntityUtil.CheckArgumentNull(argument14Type, "argument14Type"); 626EntityUtil.CheckArgumentNull(argument15Type, "argument15Type"); 627EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction"); 666EntityUtil.CheckArgumentNull(argument1Type, "argument1Type"); 667EntityUtil.CheckArgumentNull(argument2Type, "argument2Type"); 668EntityUtil.CheckArgumentNull(argument3Type, "argument3Type"); 669EntityUtil.CheckArgumentNull(argument4Type, "argument4Type"); 670EntityUtil.CheckArgumentNull(argument5Type, "argument5Type"); 671EntityUtil.CheckArgumentNull(argument6Type, "argument6Type"); 672EntityUtil.CheckArgumentNull(argument7Type, "argument7Type"); 673EntityUtil.CheckArgumentNull(argument8Type, "argument8Type"); 674EntityUtil.CheckArgumentNull(argument9Type, "argument9Type"); 675EntityUtil.CheckArgumentNull(argument10Type, "argument10Type"); 676EntityUtil.CheckArgumentNull(argument11Type, "argument11Type"); 677EntityUtil.CheckArgumentNull(argument12Type, "argument12Type"); 678EntityUtil.CheckArgumentNull(argument13Type, "argument13Type"); 679EntityUtil.CheckArgumentNull(argument14Type, "argument14Type"); 680EntityUtil.CheckArgumentNull(argument15Type, "argument15Type"); 681EntityUtil.CheckArgumentNull(argument16Type, "argument16Type"); 682EntityUtil.CheckArgumentNull(lambdaFunction, "lambdaFunction");
System\Data\Common\CommandTrees\DbModificationCommandTree.cs (1)
32EntityUtil.CheckArgumentNull(target, "target");
System\Data\Common\CommandTrees\DbQueryCommandTree.cs (1)
40EntityUtil.CheckArgumentNull(query, "query");
System\Data\Common\CommandTrees\DbSetClause.cs (2)
32EntityUtil.CheckArgumentNull(targetProperty, "targetProperty"); 33EntityUtil.CheckArgumentNull(sourceValue, "sourceValue");
System\Data\Common\CommandTrees\DbUpdateCommandTree.cs (2)
37EntityUtil.CheckArgumentNull(predicate, "predicate"); 38EntityUtil.CheckArgumentNull(setClauses, "setClauses");
System\Data\Common\CommandTrees\DefaultExpressionVisitor.cs (47)
182EntityUtil.CheckArgumentNull(lambda, "lambda"); 379EntityUtil.CheckArgumentNull(expression, "expression"); 381throw EntityUtil.NotSupported(System.Data.Entity.Strings.Cqt_General_UnsupportedExpression(expression.GetType().FullName)); 386EntityUtil.CheckArgumentNull(expression, "expression"); 395EntityUtil.CheckArgumentNull(expression, "expression"); 402EntityUtil.CheckArgumentNull(expression, "expression"); 416EntityUtil.CheckArgumentNull(expression, "expression"); 423EntityUtil.CheckArgumentNull(expression, "expression"); 440EntityUtil.CheckArgumentNull(expression, "expression"); 457EntityUtil.CheckArgumentNull(expression, "expression"); 471EntityUtil.CheckArgumentNull(expression, "expression"); 494throw EntityUtil.NotSupported(); 500EntityUtil.CheckArgumentNull(expression, "expression"); 520EntityUtil.CheckArgumentNull(expression, "expression"); 539EntityUtil.CheckArgumentNull(expression, "expression"); 558EntityUtil.CheckArgumentNull(expression, "expression"); 591throw EntityUtil.NotSupported(); 600EntityUtil.CheckArgumentNull(expression, "expression"); 607EntityUtil.CheckArgumentNull(expression, "expression"); 614EntityUtil.CheckArgumentNull(expression, "expression"); 621EntityUtil.CheckArgumentNull(expression, "expression"); 628EntityUtil.CheckArgumentNull(expression, "expression"); 646EntityUtil.CheckArgumentNull(expression, "expression"); 653EntityUtil.CheckArgumentNull(expression, "expression"); 660EntityUtil.CheckArgumentNull(expression, "expression"); 667EntityUtil.CheckArgumentNull(expression, "expression"); 674EntityUtil.CheckArgumentNull(expression, "expression"); 681EntityUtil.CheckArgumentNull(expression, "expression"); 695EntityUtil.CheckArgumentNull(expression, "expression"); 702EntityUtil.CheckArgumentNull(expression, "expression"); 722EntityUtil.CheckArgumentNull(expression, "expression"); 736EntityUtil.CheckArgumentNull(expression, "expression"); 764EntityUtil.CheckArgumentNull(expression, "expression"); 785EntityUtil.CheckArgumentNull(expression, "expression"); 806EntityUtil.CheckArgumentNull(expression, "expression"); 813EntityUtil.CheckArgumentNull(expression, "expression"); 820EntityUtil.CheckArgumentNull(expression, "expression"); 827EntityUtil.CheckArgumentNull(expression, "expression"); 842EntityUtil.CheckArgumentNull(expression, "expression"); 860EntityUtil.CheckArgumentNull(expression, "expression"); 878EntityUtil.CheckArgumentNull(expression, "expression"); 893EntityUtil.CheckArgumentNull(expression, "expression"); 928EntityUtil.CheckArgumentNull(expression, "expression"); 955EntityUtil.CheckArgumentNull(expression, "expression"); 985EntityUtil.CheckArgumentNull(expression, "expression"); 1006EntityUtil.CheckArgumentNull(expression, "expression"); 1025EntityUtil.CheckArgumentNull(expression, "expression");
System\Data\Common\CommandTrees\ExpressionBuilder\DbExpressionBuilder.cs (17)
172EntityUtil.CheckArgumentNull(argument, "argument"); 1783EntityUtil.CheckArgumentNull(source, sourceName); 1784EntityUtil.CheckArgumentNull(argument, argumentName); 1793EntityUtil.CheckArgumentNull(left, leftArgumentName); 1794EntityUtil.CheckArgumentNull(right, rightArgumentName); 1796EntityUtil.CheckArgumentNull(argument, argumentName); 1904throw EntityUtil.NotSupported(Strings.Cqt_Factory_MethodResultTypeNotSupported(typeof(TArgument).FullName)); 2228EntityUtil.CheckArgumentNull(selector, "selector"); 2370EntityUtil.CheckArgumentNull(projection, "projection"); 2441EntityUtil.CheckArgumentNull(selector, "selector"); 2469EntityUtil.CheckArgumentNull(argument, "argument"); 2492EntityUtil.CheckArgumentNull(source, "source"); 2493EntityUtil.CheckArgumentNull(sortKey, "sortKey"); 2698throw EntityUtil.InvalidEnumerationValue(typeof(PrimitiveTypeKind), (int)primitiveType); 2715throw EntityUtil.InvalidEnumerationValue(typeof(DbExpressionKind), (int)applyKind); 2748throw EntityUtil.InvalidEnumerationValue(typeof(DbExpressionKind), (int)joinKind); 2787throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Element_InvalidArgumentForUnwrapSingleProperty, "arg");
System\Data\Common\CommandTrees\ExpressionBuilder\EdmFunctions.cs (118)
43throw EntityUtil.Argument(Strings.Cqt_Function_CanonicalFunction_AmbiguousMatch(functionName)); 49throw EntityUtil.Argument(Strings.Cqt_Function_CanonicalFunction_NotFound(functionName)); 82EntityUtil.CheckArgumentNull(collection, "collection"); 96EntityUtil.CheckArgumentNull(collection, "collection"); 110EntityUtil.CheckArgumentNull(collection, "collection"); 124EntityUtil.CheckArgumentNull(collection, "collection"); 138EntityUtil.CheckArgumentNull(collection, "collection"); 152EntityUtil.CheckArgumentNull(collection, "collection"); 167EntityUtil.CheckArgumentNull(collection, "collection"); 182EntityUtil.CheckArgumentNull(collection, "collection"); 196EntityUtil.CheckArgumentNull(collection, "collection"); 210EntityUtil.CheckArgumentNull(collection, "collection"); 230EntityUtil.CheckArgumentNull(string1, "string1"); 231EntityUtil.CheckArgumentNull(string2, "string2"); 249EntityUtil.CheckArgumentNull(searchedString, "searchedString"); 250EntityUtil.CheckArgumentNull(searchedForString, "searchedForString"); 266EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 267EntityUtil.CheckArgumentNull(suffix, "suffix"); 284EntityUtil.CheckArgumentNull(searchString, "searchString"); 285EntityUtil.CheckArgumentNull(stringToFind, "stringToFind"); 301EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 302EntityUtil.CheckArgumentNull(length, "length"); 317EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 334EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 335EntityUtil.CheckArgumentNull(toReplace, "toReplace"); 336EntityUtil.CheckArgumentNull(replacement, "replacement"); 351EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 367EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 368EntityUtil.CheckArgumentNull(length, "length"); 384EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 385EntityUtil.CheckArgumentNull(prefix, "prefix"); 405EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 406EntityUtil.CheckArgumentNull(start, "start"); 407EntityUtil.CheckArgumentNull(length, "length"); 422EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 437EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 452EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 467EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 482EntityUtil.CheckArgumentNull(stringArgument, "stringArgument"); 501EntityUtil.CheckArgumentNull(dateValue, "dateValue"); 516EntityUtil.CheckArgumentNull(dateValue, "dateValue"); 531EntityUtil.CheckArgumentNull(dateValue, "dateValue"); 546EntityUtil.CheckArgumentNull(dateValue, "dateValue"); 561EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 576EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 591EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 606EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 620EntityUtil.CheckArgumentNull(dateTimeOffsetArgument, "dateTimeOffsetArgument"); 666EntityUtil.CheckArgumentNull(dateValue, "dateValue"); 686EntityUtil.CheckArgumentNull(year, "year"); 687EntityUtil.CheckArgumentNull(month, "month"); 688EntityUtil.CheckArgumentNull(day, "day"); 689EntityUtil.CheckArgumentNull(hour, "hour"); 690EntityUtil.CheckArgumentNull(minute, "minute"); 691EntityUtil.CheckArgumentNull(second, "second"); 712EntityUtil.CheckArgumentNull(year, "year"); 713EntityUtil.CheckArgumentNull(month, "month"); 714EntityUtil.CheckArgumentNull(day, "day"); 715EntityUtil.CheckArgumentNull(hour, "hour"); 716EntityUtil.CheckArgumentNull(minute, "minute"); 717EntityUtil.CheckArgumentNull(second, "second"); 718EntityUtil.CheckArgumentNull(timeZoneOffset, "timeZoneOffset"); 735EntityUtil.CheckArgumentNull(hour, "hour"); 736EntityUtil.CheckArgumentNull(minute, "minute"); 737EntityUtil.CheckArgumentNull(second, "second"); 757EntityUtil.CheckArgumentNull(dateValue, "dateValue"); 758EntityUtil.CheckArgumentNull(addValue, "addValue"); 774EntityUtil.CheckArgumentNull(dateValue, "dateValue"); 775EntityUtil.CheckArgumentNull(addValue, "addValue"); 791EntityUtil.CheckArgumentNull(dateValue, "dateValue"); 792EntityUtil.CheckArgumentNull(addValue, "addValue"); 808EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 809EntityUtil.CheckArgumentNull(addValue, "addValue"); 825EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 826EntityUtil.CheckArgumentNull(addValue, "addValue"); 842EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 843EntityUtil.CheckArgumentNull(addValue, "addValue"); 859EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 860EntityUtil.CheckArgumentNull(addValue, "addValue"); 876EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 877EntityUtil.CheckArgumentNull(addValue, "addValue"); 893EntityUtil.CheckArgumentNull(timeValue, "timeValue"); 894EntityUtil.CheckArgumentNull(addValue, "addValue"); 915EntityUtil.CheckArgumentNull(dateValue1, "dateValue1"); 916EntityUtil.CheckArgumentNull(dateValue2, "dateValue2"); 933EntityUtil.CheckArgumentNull(dateValue1, "dateValue1"); 934EntityUtil.CheckArgumentNull(dateValue2, "dateValue2"); 951EntityUtil.CheckArgumentNull(dateValue1, "dateValue1"); 952EntityUtil.CheckArgumentNull(dateValue2, "dateValue2"); 969EntityUtil.CheckArgumentNull(timeValue1, "timeValue1"); 970EntityUtil.CheckArgumentNull(timeValue2, "timeValue2"); 987EntityUtil.CheckArgumentNull(timeValue1, "timeValue1"); 988EntityUtil.CheckArgumentNull(timeValue2, "timeValue2"); 1005EntityUtil.CheckArgumentNull(timeValue1, "timeValue1"); 1006EntityUtil.CheckArgumentNull(timeValue2, "timeValue2"); 1023EntityUtil.CheckArgumentNull(timeValue1, "timeValue1"); 1024EntityUtil.CheckArgumentNull(timeValue2, "timeValue2"); 1041EntityUtil.CheckArgumentNull(timeValue1, "timeValue1"); 1042EntityUtil.CheckArgumentNull(timeValue2, "timeValue2"); 1059EntityUtil.CheckArgumentNull(timeValue1, "timeValue1"); 1060EntityUtil.CheckArgumentNull(timeValue2, "timeValue2"); 1079EntityUtil.CheckArgumentNull(value, "value"); 1095EntityUtil.CheckArgumentNull(value, "value"); 1096EntityUtil.CheckArgumentNull(digits, "digits"); 1111EntityUtil.CheckArgumentNull(value, "value"); 1126EntityUtil.CheckArgumentNull(value, "value"); 1141EntityUtil.CheckArgumentNull(value, "value"); 1157EntityUtil.CheckArgumentNull(value, "value"); 1158EntityUtil.CheckArgumentNull(digits, "digits"); 1174EntityUtil.CheckArgumentNull(baseArgument, "baseArgument"); 1175EntityUtil.CheckArgumentNull(exponent, "exponent"); 1195EntityUtil.CheckArgumentNull(value1, "value1"); 1196EntityUtil.CheckArgumentNull(value2, "value2"); 1212EntityUtil.CheckArgumentNull(value1, "value1"); 1213EntityUtil.CheckArgumentNull(value2, "value2"); 1228EntityUtil.CheckArgumentNull(value, "value"); 1244EntityUtil.CheckArgumentNull(value1, "value1"); 1245EntityUtil.CheckArgumentNull(value2, "value2");
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (148)
38throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_General_PolymorphicTypeRequired(TypeHelpers.GetFullName(type)), "type"); 60throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_ExpressionLink_TypeMismatch( 88throw EntityUtil.Argument( 121throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_RelNav_WrongSourceType(TypeHelpers.GetFullName(endType)), "from"); 126throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_RelNav_WrongSourceType(TypeHelpers.GetFullName(endType)), "from"); 136throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Unary_CollectionRequired(typeof(TExpressionType).Name), "argument"); 146throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Binary_CollectionsRequired(typeof(TExpressionType).Name)); 152throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Binary_CollectionsRequired(typeof(TExpressionType).Name)); 164throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_InvalidTypeForSetOperation(TypeHelpers.GetElementTypeUsage(left.ResultType).Identity, typeof(TExpressionType).Name), "left"); 169throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_InvalidTypeForSetOperation(TypeHelpers.GetElementTypeUsage(right.ResultType).Identity, typeof(TExpressionType).Name), "right"); 229EntityUtil.CheckArgumentNull(left, "left"); 230EntityUtil.CheckArgumentNull(right, "right"); 237EntityUtil.CheckArgumentNull(argument, "argument"); 253EntityUtil.CheckArgumentNull(varName, "varName"); 254EntityUtil.CheckArgumentNull(input, "input"); 261throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Binding_VariableNameNotValid, "varName"); 270throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Binding_CollectionRequired, "input"); 283EntityUtil.CheckArgumentNull(varName, "varName"); 284EntityUtil.CheckArgumentNull(groupVarName, "groupVarName"); 285EntityUtil.CheckArgumentNull(input, "input"); 292throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Binding_VariableNameNotValid, "varName"); 297throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_GroupBinding_GroupVariableNameNotValid, "groupVarName"); 306throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_GroupBinding_CollectionRequired, "input"); 335throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Aggregate_InvalidFunction, "function"); 357EntityUtil.CheckArgumentNull(argument, "argument"); 363EntityUtil.CheckArgumentNull(key, "key"); 367throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Sort_OrderComparable, "key"); 375EntityUtil.CheckArgumentNull(collation, "collation"); 378throw EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.Cqt_Sort_EmptyCollationInvalid, "collation"); 383throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Sort_NonStringCollationInvalid, "collation"); 393EntityUtil.CheckArgumentNull(body, "body"); 400throw EntityUtil.ArgumentNull(StringUtil.FormatIndex("variables", idx)); 419EntityUtil.CheckArgumentNull(binding, argumentName); 424EntityUtil.CheckArgumentNull(binding, argumentName); 430EntityUtil.CheckArgumentNull(argument, argumentName); 451throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Apply_DuplicateVariableNames); 469EntityUtil.CheckArgumentNull(inputs, "inputs"); 495throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_CrossJoin_DuplicateVariableNames(nameIndex, iPos, input.VariableName)); 508throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_CrossJoin_AtLeastTwoInputs, "inputs"); 529EntityUtil.CheckArgumentNull(joinCondition, "joinCondition"); 536throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Join_DuplicateVariableNames); 587throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_GroupBy_KeyNotEqualityComparable(keyInfo.Key)); 612throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_GroupBy_AggregateColumnExistsAsGroupColumn(aggInfo.Key)); 622throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_GroupBy_MoreThanOneGroupAggregate); 644throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_GroupBy_AtLeastOneKeyOrAggregate); 687EntityUtil.CheckArgumentNull(count, "count"); 690throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Skip_IntegerRequired, "count"); 699throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Skip_ConstantOrParameterRefRequired, "count"); 707throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Skip_NonNegativeCountRequired, "count"); 732EntityUtil.CheckArgumentNull(value, "value"); 740throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Constant_InvalidType, "value"); 751EntityUtil.CheckArgumentNull(value, "value"); 767throw EntityUtil.Argument( 780throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Constant_InvalidConstantType(constantType.ToString()), "constantType"); 792throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Constant_InvalidValueForType(constantType.ToString()), "value"); 802EntityUtil.CheckArgumentNull(name, "name"); 805throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_CommandTree_InvalidParameterName(name), "name"); 819EntityUtil.CheckArgumentNull(name, "name"); 822throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Binding_VariableNameNotValid, "name"); 835throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_And_BooleanArgumentsRequired); 846throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Or_BooleanArgumentsRequired); 854EntityUtil.CheckArgumentNull(argument, "argument"); 861throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Not_BooleanArgumentRequired); 878throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Arithmetic_NumericCommonType); 890throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Arithmetic_InvalidUnsignedTypeForUnaryMinus(argument.ResultType.EdmType.FullName)); 901throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Arithmetic_NumericCommonType); 913EntityUtil.CheckArgumentNull(left, "left"); 914EntityUtil.CheckArgumentNull(right, "right"); 939throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Comparison_ComparableRequired); 952EntityUtil.CheckArgumentNull(argument, "argument"); 959throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_IsNull_CollectionNotAllowed); 970throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_IsNull_InvalidType); 979EntityUtil.CheckArgumentNull(argument, "argument"); 980EntityUtil.CheckArgumentNull(pattern, "pattern"); 992EntityUtil.CheckArgumentNull(escape, "escape"); 1011throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Cast_InvalidCast(TypeHelpers.GetFullName(argument.ResultType), TypeHelpers.GetFullName(toType))); 1029throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_General_PolymorphicArgRequired(typeof(DbTreatExpression).Name)); 1055throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_General_PolymorphicArgRequired(typeof(DbOfTypeExpression).Name)); 1079throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_General_PolymorphicArgRequired(typeof(DbIsOfExpression).Name)); 1099throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_DeRef_RefRequired, "argument"); 1115throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_GetEntityRef_EntityRequired, "argument"); 1123EntityUtil.CheckArgumentNull(entitySet, "entitySet"); 1138throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Ref_PolymorphicArgRequired); 1162EntityUtil.CheckArgumentNull(entitySet, "entitySet"); 1169EntityUtil.CheckArgumentNull(keyValues, "keyValues"); 1178throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Ref_PolymorphicArgRequired); 1205throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_GetRefKey_RefRequired, "argument"); 1217EntityUtil.CheckArgumentNull(navigateFrom, "navigateFrom"); 1227EntityUtil.CheckArgumentNull(fromEndName, "fromEndName"); 1228EntityUtil.CheckArgumentNull(toEndName, "toEndName"); 1235throw EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.Cqt_Factory_NoSuchRelationEnd, fromEndName); 1240throw EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.Cqt_Factory_NoSuchRelationEnd, toEndName); 1253EntityUtil.CheckArgumentNull(navigateFrom, "navigateFrom"); 1273throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Factory_IncompatibleRelationEnds, "toEnd"); 1300throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Distinct_InvalidCollection, "argument"); 1371EntityUtil.CheckArgumentNull(argument, "argument"); 1378EntityUtil.CheckArgumentNull(limit, "count"); 1381throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Limit_IntegerRequired, "limit"); 1390throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Limit_ConstantOrParameterRefRequired, "limit"); 1398throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Limit_NonNegativeLimitRequired, "limit"); 1409EntityUtil.CheckArgumentNull(whenExpressions, "whenExpressions"); 1410EntityUtil.CheckArgumentNull(thenExpressions, "thenExpressions"); 1411EntityUtil.CheckArgumentNull(elseExpression, "elseExpression"); 1437throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Case_InvalidResultType); 1447throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Case_InvalidResultType); 1455throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Case_WhensMustEqualThens); 1476throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Function_NonComposableInExpression, "function"); 1480throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Function_CommandTextInExpression, "function"); 1488throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Function_VoidResultInvalid, "function"); 1506EntityUtil.CheckArgumentNull(lambda, "lambda"); 1507EntityUtil.CheckArgumentNull(arguments, "arguments"); 1541throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Factory_NewCollectionInvalidCommonType, "collectionElements"); 1556throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_NewInstance_CollectionTypeRequired, "collectionType"); 1621throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_NewInstance_StructuralTypeRequired, "instanceType"); 1626throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_NewInstance_CannotInstantiateAbstractType(TypeHelpers.GetFullName(instanceType)), "instanceType"); 1632throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_NewInstance_CannotInstantiateMemberlessType(TypeHelpers.GetFullName(instanceType)), "instanceType"); 1645EntityUtil.CheckArgumentNull(entityType, "entityType"); 1646EntityUtil.CheckArgumentNull(attributeValues, "attributeValues"); 1647EntityUtil.CheckArgumentNull(relationships, "relationships"); 1658EntityUtil.CheckArgumentNull(relatedRef, StringUtil.FormatIndex("relationships", idx)); 1666throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_NewInstance_IncompatibleRelatedEntity_SourceTypeNotValid, StringUtil.FormatIndex("relationships", idx)); 1693throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Property_InstanceRequiredForInstance, "instance"); 1706EntityUtil.CheckArgumentNull(instance, "instance"); 1707EntityUtil.CheckArgumentNull(propertyName, "propertyName"); 1735throw EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.Cqt_Factory_NoSuchProperty(propertyName, TypeHelpers.GetFullName(instance.ResultType)), "propertyName"); 1748throw EntityUtil.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "{0}.Key", argumentName)); 1757throw EntityUtil.ArgumentNull(string.Format(CultureInfo.InvariantCulture, "{0}.Value", argumentName)); 1763EntityUtil.CheckArgumentNull(item, varName); 1766throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_General_MetadataNotReadOnly, varName); 1772EntityUtil.CheckArgumentNull(item, varName); 1775throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_General_MetadataNotReadOnly, varName); 1781EntityUtil.CheckArgumentNull(item, varName); 1784throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_General_MetadataNotReadOnly, varName); 1795EntityUtil.CheckArgumentNull(type, argumentName); 1813EntityUtil.CheckArgumentNull(type, varName); 1821throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_TypeUsageIncorrectSpace, "type"); 1832EntityUtil.CheckArgumentNull(memberMeta, varName); 1841throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_EdmMemberIncorrectSpace, varName); 1847EntityUtil.CheckArgumentNull(paramMeta, varName); 1856throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_FunctionParameterIncorrectSpace, varName); 1866EntityUtil.CheckArgumentNull(function, "function"); 1873throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_FunctionIncorrectSpace, "function"); 1879throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_FunctionReturnParameterNull, "function"); 1888throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_FunctionParameterIncorrectSpace, "function.ReturnParameter"); 1910EntityUtil.CheckArgumentNull(entitySet, varName); 1921throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_EntitySetEntityContainerNull, varName); 1926throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_EntitySetIncorrectSpace, varName); 1937throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_EntitySetIncorrectSpace, varName);
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\EnumerableValidator.cs (6)
109EntityUtil.CheckArgumentNull(argument, argumentName); 126throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_ExpressionList_IncorrectElementCount, argumentName); 132throw EntityUtil.ArgumentNull(StringUtil.FormatIndex(argumentName, pos)); 145throw EntityUtil.Argument( 161throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_ExpressionList_IncorrectElementCount, argumentName); 169throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Util_CheckListEmptyInvalid, argumentName);
System\Data\Common\CommandTrees\ExpressionBuilder\Row.cs (1)
53EntityUtil.CheckArgumentNull(row, "row");
System\Data\Common\CommandTrees\ExpressionBuilder\Spatial\SpatialEdmFunctions.cs (141)
41EntityUtil.CheckArgumentNull(wellKnownText, "wellKnownText"); 57EntityUtil.CheckArgumentNull(wellKnownText, "wellKnownText"); 58EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 74EntityUtil.CheckArgumentNull(pointWellKnownText, "pointWellKnownText"); 75EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 91EntityUtil.CheckArgumentNull(lineWellKnownText, "lineWellKnownText"); 92EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 108EntityUtil.CheckArgumentNull(polygonWellKnownText, "polygonWellKnownText"); 109EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 129EntityUtil.CheckArgumentNull(multiPointWellKnownText, "multiPointWellKnownText"); 130EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 150EntityUtil.CheckArgumentNull(multiLineWellKnownText, "multiLineWellKnownText"); 151EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 169EntityUtil.CheckArgumentNull(multiPolygonWellKnownText, "multiPolygonWellKnownText"); 170EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 186EntityUtil.CheckArgumentNull(geometryCollectionWellKnownText, "geometryCollectionWellKnownText"); 187EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 207EntityUtil.CheckArgumentNull(wellKnownBinaryValue, "wellKnownBinaryValue"); 223EntityUtil.CheckArgumentNull(wellKnownBinaryValue, "wellKnownBinaryValue"); 224EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 240EntityUtil.CheckArgumentNull(pointWellKnownBinaryValue, "pointWellKnownBinaryValue"); 241EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 257EntityUtil.CheckArgumentNull(lineWellKnownBinaryValue, "lineWellKnownBinaryValue"); 258EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 274EntityUtil.CheckArgumentNull(polygonWellKnownBinaryValue, "polygonWellKnownBinaryValue"); 275EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 295EntityUtil.CheckArgumentNull(multiPointWellKnownBinaryValue, "multiPointWellKnownBinaryValue"); 296EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 316EntityUtil.CheckArgumentNull(multiLineWellKnownBinaryValue, "multiLineWellKnownBinaryValue"); 317EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 335EntityUtil.CheckArgumentNull(multiPolygonWellKnownBinaryValue, "multiPolygonWellKnownBinaryValue"); 336EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 352EntityUtil.CheckArgumentNull(geometryCollectionWellKnownBinaryValue, "geometryCollectionWellKnownBinaryValue"); 353EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 372EntityUtil.CheckArgumentNull(geometryMarkup, "geometryMarkup"); 389EntityUtil.CheckArgumentNull(geometryMarkup, "geometryMarkup"); 390EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 409EntityUtil.CheckArgumentNull(wellKnownText, "wellKnownText"); 425EntityUtil.CheckArgumentNull(wellKnownText, "wellKnownText"); 426EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 442EntityUtil.CheckArgumentNull(pointWellKnownText, "pointWellKnownText"); 443EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 459EntityUtil.CheckArgumentNull(lineWellKnownText, "lineWellKnownText"); 460EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 476EntityUtil.CheckArgumentNull(polygonWellKnownText, "polygonWellKnownText"); 477EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 497EntityUtil.CheckArgumentNull(multiPointWellKnownText, "multiPointWellKnownText"); 498EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 518EntityUtil.CheckArgumentNull(multiLineWellKnownText, "multiLineWellKnownText"); 519EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 537EntityUtil.CheckArgumentNull(multiPolygonWellKnownText, "multiPolygonWellKnownText"); 538EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 554EntityUtil.CheckArgumentNull(geographyCollectionWellKnownText, "geographyCollectionWellKnownText"); 555EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 575EntityUtil.CheckArgumentNull(wellKnownBinaryValue, "wellKnownBinaryValue"); 591EntityUtil.CheckArgumentNull(wellKnownBinaryValue, "wellKnownBinaryValue"); 592EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 608EntityUtil.CheckArgumentNull(pointWellKnownBinaryValue, "pointWellKnownBinaryValue"); 609EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 625EntityUtil.CheckArgumentNull(lineWellKnownBinaryValue, "lineWellKnownBinaryValue"); 626EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 642EntityUtil.CheckArgumentNull(polygonWellKnownBinaryValue, "polygonWellKnownBinaryValue"); 643EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 663EntityUtil.CheckArgumentNull(multiPointWellKnownBinaryValue, "multiPointWellKnownBinaryValue"); 664EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 684EntityUtil.CheckArgumentNull(multiLineWellKnownBinaryValue, "multiLineWellKnownBinaryValue"); 685EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 703EntityUtil.CheckArgumentNull(multiPolygonWellKnownBinaryValue, "multiPolygonWellKnownBinaryValue"); 704EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 720EntityUtil.CheckArgumentNull(geographyCollectionWellKnownBinaryValue, "geographyCollectionWellKnownBinaryValue"); 721EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 740EntityUtil.CheckArgumentNull(geographyMarkup, "geographyMarkup"); 757EntityUtil.CheckArgumentNull(geographyMarkup, "geographyMarkup"); 758EntityUtil.CheckArgumentNull(coordinateSystemId, "coordinateSystemId"); 780EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 795EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 810EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 825EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 840EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 856EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 871EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 886EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 901EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 915EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 930EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 951EntityUtil.CheckArgumentNull(spatialValue1, "spatialValue1"); 952EntityUtil.CheckArgumentNull(spatialValue2, "spatialValue2"); 969EntityUtil.CheckArgumentNull(spatialValue1, "spatialValue1"); 970EntityUtil.CheckArgumentNull(spatialValue2, "spatialValue2"); 987EntityUtil.CheckArgumentNull(spatialValue1, "spatialValue1"); 988EntityUtil.CheckArgumentNull(spatialValue2, "spatialValue2"); 1003EntityUtil.CheckArgumentNull(geometryValue1, "geometryValue1"); 1004EntityUtil.CheckArgumentNull(geometryValue2, "geometryValue2"); 1019EntityUtil.CheckArgumentNull(geometryValue1, "geometryValue1"); 1020EntityUtil.CheckArgumentNull(geometryValue2, "geometryValue2"); 1035EntityUtil.CheckArgumentNull(geometryValue1, "geometryValue1"); 1036EntityUtil.CheckArgumentNull(geometryValue2, "geometryValue2"); 1051EntityUtil.CheckArgumentNull(geometryValue1, "geometryValue1"); 1052EntityUtil.CheckArgumentNull(geometryValue2, "geometryValue2"); 1067EntityUtil.CheckArgumentNull(geometryValue1, "geometryValue1"); 1068EntityUtil.CheckArgumentNull(geometryValue2, "geometryValue2"); 1084EntityUtil.CheckArgumentNull(geometryValue1, "geometryValue1"); 1085EntityUtil.CheckArgumentNull(geometryValue2, "geometryValue2"); 1086EntityUtil.CheckArgumentNull(intersectionPatternMatrix, "intersectionPatternMatrix"); 1105EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1106EntityUtil.CheckArgumentNull(distance, "distance"); 1123EntityUtil.CheckArgumentNull(spatialValue1, "spatialValue1"); 1124EntityUtil.CheckArgumentNull(spatialValue2, "spatialValue2"); 1138EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 1155EntityUtil.CheckArgumentNull(spatialValue1, "spatialValue1"); 1156EntityUtil.CheckArgumentNull(spatialValue2, "spatialValue2"); 1173EntityUtil.CheckArgumentNull(spatialValue1, "spatialValue1"); 1174EntityUtil.CheckArgumentNull(spatialValue2, "spatialValue2"); 1191EntityUtil.CheckArgumentNull(spatialValue1, "spatialValue1"); 1192EntityUtil.CheckArgumentNull(spatialValue2, "spatialValue2"); 1209EntityUtil.CheckArgumentNull(spatialValue1, "spatialValue1"); 1210EntityUtil.CheckArgumentNull(spatialValue2, "spatialValue2"); 1228EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1246EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1247EntityUtil.CheckArgumentNull(indexValue, "indexValue"); 1266EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 1280EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 1294EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1308EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1322EntityUtil.CheckArgumentNull(geographyValue, "geographyValue"); 1336EntityUtil.CheckArgumentNull(geographyValue, "geographyValue"); 1354EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1368EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1382EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1396EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1410EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 1428EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1445EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1446EntityUtil.CheckArgumentNull(indexValue, "indexValue"); 1464EntityUtil.CheckArgumentNull(spatialValue, "spatialValue"); 1479EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 1493EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 1511EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 1525EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 1542EntityUtil.CheckArgumentNull(geometryValue, "geometryValue"); 1543EntityUtil.CheckArgumentNull(indexValue, "indexValue");
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (8)
60throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_EntitySetNotFound(entitySet.EntityContainer.Name, entitySet.Name)); 63throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_EntityContainerNotFound(entitySet.EntityContainer.Name)); 107throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_FunctionNotFound(TypeHelpers.GetFullName(function))); 163throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_TypeNotFound(TypeHelpers.GetFullName(type))); 217EntityUtil.CheckArgumentNull(expression, "expression"); 228throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_EndNotFound(expression.Property.Name, TypeHelpers.GetFullName(newInstance.ResultType.EdmType))); 237throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_NavPropertyNotFound(expression.Property.Name, TypeHelpers.GetFullName(newInstance.ResultType.EdmType))); 246throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Copier_PropertyNotFound(expression.Property.Name, TypeHelpers.GetFullName(newInstance.ResultType.EdmType)));
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
186throw EntityUtil.NotSupported(System.Data.Entity.Strings.Cqt_General_UnsupportedExpression(e.GetType().FullName));
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (1)
479throw EntityUtil.NotSupported(System.Data.Entity.Strings.Cqt_General_UnsupportedExpression(e.GetType().FullName));
System\Data\Common\CommandTrees\Internal\PatternMatchRules.cs (4)
69EntityUtil.CheckArgumentNull(matchFunc, "matchFunc"); 70EntityUtil.CheckArgumentNull(processor, "processor"); 95EntityUtil.CheckArgumentNull(expression, "expression"); 107EntityUtil.CheckArgumentNull(rules, "rules");
System\Data\Common\CommandTrees\Internal\Validator.cs (1)
169throw EntityUtil.Argument(message, this.expressionArgumentName);
System\Data\Common\CommandTrees\OperatorExpressions.cs (30)
40public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 49public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 70public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 79public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 100public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 109public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 163public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 172public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 218public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 227public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 247public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 256public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 293public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 302public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 322public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 331public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 351public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 360public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 393public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 402public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 439public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 448public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 468public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 477public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 526public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 535public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 555public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 564public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 584public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 593public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } }
System\Data\Common\CommandTrees\RelationalExpressions.cs (30)
56public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 65public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 89public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 98public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 136public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 145public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 168public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 177public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 215public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 224public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 273public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 282public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 304public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 313public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 343public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 352public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 401public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 410public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 455public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 464public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 501public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 510public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 549public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 558public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 642public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 651public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 689public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 698public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 720public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 729public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } }
System\Data\Common\CommandTrees\ValueExpressions.cs (33)
88public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 97public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 116public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 125public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 154public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 163public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 192public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 201public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 241public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 250public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 264EntityUtil.CheckArgumentNull(value, "value"); 304public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 313public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 352public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 361public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 534public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 543public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 566EntityUtil.CheckArgumentNull(sourceEnd, "sourceEnd"); 567EntityUtil.CheckArgumentNull(targetEnd, "targetEnd"); 571EntityUtil.CheckArgumentNull(targetEntityRef, "targetEntityRef"); 577throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_RelatedEntityRef_TargetEndFromDifferentRelationship, "targetEnd"); 582throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_RelatedEntityRef_TargetEndSameAsSourceEnd, "targetEnd"); 589throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_RelatedEntityRef_TargetEndMustBeAtMostOne, "targetEnd"); 595throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_RelatedEntityRef_TargetEntityNotRef, "targetEntityRef"); 604throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_RelatedEntityRef_TargetEntityNotCompatible, "targetEntityRef"); 666public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 675public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 713public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 722public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 742public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 751public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 780public override void Accept(DbExpressionVisitor visitor) { if (visitor != null) { visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } } 789public override TResultType Accept<TResultType>(DbExpressionVisitor<TResultType> visitor) { if (visitor != null) { return visitor.Visit(this); } else { throw EntityUtil.ArgumentNull("visitor"); } }
System\Data\Common\DataRecord.cs (13)
139throw EntityUtil.InvalidSourceBufferIndex(cbytes, fieldOffset, "fieldOffset"); 164if (EntityUtil.IsCatchableExceptionType(e)) 169throw EntityUtil.InvalidDataLength(length); 173throw EntityUtil.InvalidDestinationBufferIndex(length, bufferOffset, "bufferOffset"); 177throw EntityUtil.InvalidSourceBufferIndex(length, fieldOffset, "fieldOffset"); 181throw EntityUtil.InvalidBufferSizeOrIndex(cbytes, bufferOffset); 214throw EntityUtil.InvalidSourceBufferIndex(cchars, fieldOffset, "fieldOffset"); 238if (EntityUtil.IsCatchableExceptionType(e)) 243throw EntityUtil.InvalidDataLength(length); 247throw EntityUtil.InvalidDestinationBufferIndex(buffer.Length, bufferOffset, "bufferOffset"); 251throw EntityUtil.InvalidSourceBufferIndex(cchars, fieldOffset, "fieldOffset"); 255throw EntityUtil.InvalidBufferSizeOrIndex(cchars, bufferOffset); 404throw EntityUtil.ArgumentNull("values");
System\Data\Common\DataRecordInfo.cs (4)
33EntityUtil.CheckArgumentNull(metadata, "metadata"); 51throw EntityUtil.Argument(System.Data.Entity.Strings.EdmMembersDefiningTypeDoNotAgreeWithMetadataType); 57throw EntityUtil.Argument("memberInfo"); 71throw EntityUtil.Argument("memberInfo");
System\Data\Common\DbCommandDefinition.cs (6)
32EntityUtil.CheckArgumentNull(prototype, "prototype"); 35throw EntityUtil.CannotCloneStoreProvider(); 46EntityUtil.CheckArgumentNull(prototype, "prototype"); 49throw EntityUtil.CannotCloneStoreProvider(); 69EntityUtil.CheckArgumentNull(parameter, "parameter"); 70EntityUtil.CheckArgumentNull(type, "type");
System\Data\Common\DbProviderManifest.cs (4)
163if (EntityUtil.IsCatchableExceptionType(e)) 168throw EntityUtil.ProviderIncompatible( 182throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.ProviderReturnedNullForGetDbInformation(informationType)); 211throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.ProviderShouldOverrideEscapeLikeArgument);
System\Data\Common\DbProviderServices.cs (31)
42EntityUtil.CheckArgumentNull(commandTree, "commandTree"); 70if (EntityUtil.IsCatchableExceptionType(e)) 72throw EntityUtil.ProviderIncompatible(Strings.ProviderDidNotCreateACommandDefinition, e); 97throw EntityUtil.ProviderIncompatible(Strings.ProviderRequiresStoreCommandTree); 140throw EntityUtil.ProviderIncompatible(Strings.ProviderDidNotReturnAProviderManifestToken); 150if (EntityUtil.IsCatchableExceptionType(e)) 152throw EntityUtil.ProviderIncompatible(Strings.ProviderDidNotReturnAProviderManifestToken, e); 167throw EntityUtil.ProviderIncompatible(Strings.ProviderDidNotReturnAProviderManifest); 178if (EntityUtil.IsCatchableExceptionType(e)) { 179throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.ProviderDidNotReturnAProviderManifest, e); 195throw EntityUtil.ProviderIncompatible(Strings.ProviderDidNotReturnSpatialServices); 206if (EntityUtil.IsCatchableExceptionType(e)) 208throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.ProviderDidNotReturnSpatialServices, e); 221throw EntityUtil.ProviderIncompatible(Strings.ProviderDidNotReturnSpatialServices); 232if (EntityUtil.IsCatchableExceptionType(e)) 234throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.ProviderDidNotReturnSpatialServices, e); 244throw EntityUtil.ProviderIncompatible(Strings.ProviderDidNotReturnSpatialServices); 251throw EntityUtil.ProviderIncompatible(Strings.ProviderDidNotReturnSpatialServices); 265EntityUtil.CheckArgumentNull(parameter, "parameter"); 266EntityUtil.CheckArgumentNull(parameterType, "parameterType"); 282EntityUtil.CheckArgumentNull(providerInvariantName, "providerInvariantName"); 290throw EntityUtil.Argument(Strings.EntityClient_InvalidStoreProvider, e); 302EntityUtil.CheckArgumentNull(connection, "connection"); 306throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.EntityClient_ReturnedNullOnProviderMethod( 315EntityUtil.CheckArgumentNull(factory, "factory"); 326throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.EntityClient_DoesNotImplementIServiceProvider( 332throw EntityUtil.ProviderIncompatible( 378throw EntityUtil.ProviderIncompatible(Strings.ProviderDoesNotSupportCreateDatabaseScript); 397throw EntityUtil.ProviderIncompatible(Strings.ProviderDoesNotSupportCreateDatabase); 419throw EntityUtil.ProviderIncompatible(Strings.ProviderDoesNotSupportDatabaseExists); 437throw EntityUtil.ProviderIncompatible(Strings.ProviderDoesNotSupportDeleteDatabase);
System\Data\Common\DbXmlEnabledProviderManifest.cs (2)
37throw EntityUtil.ProviderIncompatible(Strings.IncorrectProviderManifest, new ArgumentNullException("reader")); 105throw EntityUtil.ProviderIncompatible(Strings.IncorrectProviderManifest + Helper.CombineErrorMessage(errors));
System\Data\Common\EntityRecordInfo.cs (4)
32EntityUtil.CheckArgumentNull<EntityKey>(entityKey, "entityKey"); 33EntityUtil.CheckArgumentNull(entitySet, "entitySet"); 47EntityUtil.CheckArgumentNull<EntityKey>(entityKey, "entityKey"); 104throw EntityUtil.Argument(System.Data.Entity.Strings.EntityTypesDoNotAgree);
System\Data\Common\EntitySql\AST\AliasedExpr.cs (1)
33throw EntityUtil.EntitySqlError(alias.ErrCtx, System.Data.Entity.Strings.InvalidEmptyIdentifier);
System\Data\Common\EntitySql\AST\Identifier.cs (2)
39throw EntityUtil.EntitySqlError(this.ErrCtx, System.Data.Entity.Strings.InvalidSimpleIdentifier(name)); 43throw EntityUtil.EntitySqlError(this.ErrCtx, System.Data.Entity.Strings.InvalidSimpleIdentifierNonASCII(name));
System\Data\Common\EntitySql\AST\Literal.cs (22)
244throw EntityUtil.NotSupported(System.Data.Entity.Strings.LiteralTypeNotSupported(_literalKind.ToString())); 269throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.CannotConvertNumericLiteral(numericString, "unsigned int")); 280throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.CannotConvertNumericLiteral(numericString, "long")); 292throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.CannotConvertNumericLiteral(numericString, "unsigned long")); 303throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.CannotConvertNumericLiteral(numericString, "float")); 314throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.CannotConvertNumericLiteral(numericString, "decimal")); 325throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.CannotConvertNumericLiteral(numericString, "double")); 351throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.CannotConvertNumericLiteral(numericString, "double")); 367throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.CannotConvertNumericLiteral(numericString, "long")); 383throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.InvalidLiteralFormat("Boolean", booleanLiteralValue)); 404throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.MalformedStringLiteralPayload); 416throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.MalformedStringLiteralPayload); 432throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.MalformedStringLiteralPayload); 486throw EntityUtil.ArgumentOutOfRange("hexadecimal digit is not valid"); 570throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.InvalidDateTimeOffsetLiteral(datetimeLiteralValue), e); 603throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.InvalidHour(datetimeParts[timePartStartIndex], datetimeLiteralValue)); 608throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.InvalidMinute(datetimeParts[timePartStartIndex], datetimeLiteralValue)); 618throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.InvalidSecond(datetimeParts[timePartStartIndex], datetimeLiteralValue)); 636throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.InvalidYear(datetimeParts[0], datetimeLiteralValue)); 641throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.InvalidMonth(datetimeParts[1], datetimeLiteralValue)); 646throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.InvalidDay(datetimeParts[2], datetimeLiteralValue)); 650throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.InvalidDayInMonth(datetimeParts[2], datetimeParts[1], datetimeLiteralValue));
System\Data\Common\EntitySql\AST\NamespaceImport.cs (1)
46throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, System.Data.Entity.Strings.InvalidNamespaceAlias);
System\Data\Common\EntitySql\AST\QueryParameter.cs (1)
37throw EntityUtil.EntitySqlError(ErrCtx, System.Data.Entity.Strings.InvalidParameterFormat(_name));
System\Data\Common\EntitySql\CqlErrorHelper.cs (8)
52throw EntityUtil.EntitySqlError(functionExpr.ErrCtx.CommandText, 67throw EntityUtil.EntitySqlError(errCtx, String.Format(CultureInfo.InvariantCulture, "{0} {1}", System.Data.Entity.Strings.AliasNameAlreadyUsed(aliasName), contextMessage)); 86throw EntityUtil.EntitySqlError(errCtx, System.Data.Entity.Strings.ArgumentTypesAreIncompatible(leftType.Identity, rightType.Identity)); 105throw EntityUtil.EntitySqlError(errCtx, 136throw EntityUtil.EntitySqlError(errCtx, errorMessage); 171throw EntityUtil.EntitySqlError(errCtx, errorMessage); 194throw EntityUtil.EntitySqlError(errCtx, errorMessage); 228throw EntityUtil.EntitySqlError(errCtx, errorMessage);
System\Data\Common\EntitySql\CqlLexerHelpers.cs (12)
361throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidEscapedIdentifier(symbol), _iPos); 433throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidAliasName(symbol), _iPos); 496throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidOperatorSymbol, _iPos); 520throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidPunctuatorSymbol, _iPos); 557throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidLiteralFormat("binary", literalValue), _iPos); 572throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidLiteralFormat("datetime", literalValue), _iPos); 580throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidLiteralFormat("time", literalValue), _iPos); 587throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidLiteralFormat("datetimeoffset", literalValue), _iPos); 595throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidLiteralFormat("guid", literalValue), _iPos); 636throw EntityUtil.EntitySqlError(_query, System.Data.Entity.Strings.InvalidEscapedIdentifierUnbalanced(YYText), _iPos); 705throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.MalformedSingleQuotePayload); 720throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.MalformedSingleQuotePayload);
System\Data\Common\EntitySql\CqlParser.cs (2)
3301throw EntityUtil.EntitySqlError(identifier.ErrCtx, System.Data.Entity.Strings.InvalidMetadataMemberName); 3315throw EntityUtil.EntitySqlError(identifier.ErrCtx, System.Data.Entity.Strings.InvalidMetadataMemberName);
System\Data\Common\EntitySql\CqlParserHelpers.cs (5)
41EntityUtil.CheckArgumentNull(parserOptions, "parserOptions"); 58EntityUtil.CheckArgumentNull(query, "query"); 61throw EntityUtil.Argument(System.Data.Entity.Strings.InvalidEmptyQueryTextArgument); 176throw EntityUtil.EntitySqlError(_query, 182throw EntityUtil.EntitySqlError(_query, s, _lexer.IPos);
System\Data\Common\EntitySql\CqlQuery.cs (7)
154throw EntityUtil.EntitySqlError(commandText, System.Data.Entity.Strings.InvalidEmptyQuery, 0); 171EntityUtil.CheckArgumentNull(perspective, "commandText"); 172EntityUtil.CheckArgumentNull(perspective, "perspective"); 280EntityUtil.CheckArgumentNull(astExpr, "astExpr"); 281EntityUtil.CheckArgumentNull(perspective, "perspective"); 294throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.GeneralExceptionAsQueryInnerException("Metadata"), metadataException); 301throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.GeneralExceptionAsQueryInnerException("Mapping"), mappingException);
System\Data\Common\EntitySql\EntitySqlParser.cs (4)
43EntityUtil.CheckArgumentNull(query, "query"); 47EntityUtil.CheckArgumentContainsNull(ref paramsEnum, "parameters"); 59EntityUtil.CheckArgumentNull(query, "query"); 63EntityUtil.CheckArgumentContainsNull(ref varsEnum, "variables");
System\Data\Common\EntitySql\FunctionOverloadResolver.cs (7)
240throw EntityUtil.EntitySqlError(Strings.InvalidArgumentTypeForAggregateFunction); 323throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.FailedToGeneratePromotionRank, 1); 342throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.FailedToGeneratePromotionRank, 2); 348throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.FailedToGeneratePromotionRank, 3);
System\Data\Common\EntitySql\ParseResult.cs (2)
29EntityUtil.CheckArgumentNull(commandTree, "commandTree"); 30EntityUtil.CheckArgumentNull(functionDefs, "functionDefs");
System\Data\Common\EntitySql\SemanticAnalyzer.cs (170)
119throw EntityUtil.Argument(Strings.UnknownAstCommandExpression); 123throw EntityUtil.Argument(Strings.UnknownAstExpressionType); 160throw EntityUtil.EntitySqlError(namespaceImport.NamespaceName.ErrCtx, Strings.InvalidMetadataMemberName); 181throw EntityUtil.EntitySqlError(namespaceImport.NamespaceName.ErrCtx, Strings.InvalidMetadataMemberClassResolution( 219throw EntityUtil.Argument(Strings.UnknownAstExpressionType); 269throw EntityUtil.Argument(Strings.UnknownAstExpressionType); 288throw EntityUtil.EntitySqlError(queryStatement.Expr.ErrCtx, Strings.ResultingExpressionTypeCannotBeNull); 335throw EntityUtil.EntitySqlError(errCtx, Strings.InvalidQueryResultType(resultType.EdmType.FullName)); 407throw EntityUtil.EntitySqlError( 447throw EntityUtil.EntitySqlError(FunctionDefAst.ErrCtx, Strings.Cqt_UDF_FunctionDefinitionWithCircularReference(FunctionDefAst.Name)); 501throw EntityUtil.EntitySqlError(Strings.UnknownAstExpressionType); 517throw EntityUtil.EntitySqlError(astExpr.ErrCtx, Strings.ExpressionCannotBeNull); 564throw EntityUtil.EntitySqlError(astExpr.ErrCtx, errorMessage); 584throw EntityUtil.EntitySqlError(errCtx, formatMessage()); 625throw EntityUtil.EntitySqlError(literal.ErrCtx, Strings.LiteralTypeNotFoundInMetadata(literal.OriginalValue)); 686throw EntityUtil.EntitySqlError(dotExpr.Left.ErrCtx, Strings.UnknownExpressionResolutionClass(leftResolution.ExpressionClass)); 725throw EntityUtil.EntitySqlError(astExpr.ErrCtx, Strings.GroupPartitionOutOfContext); 746throw EntityUtil.EntitySqlError(groupAggregateExpr.ArgExpr.ErrCtx, Strings.ResultingExpressionTypeCannotBeNull); 853throw EntityUtil.EntitySqlError(methodExpr.Expr.ErrCtx, Strings.CannotResolveNameToTypeOrFunction(metadataMember.Name)); 858throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.MethodInvocationNotSupported); 947throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.AmbiguousFunctionArguments); 976throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.InvalidCtorUseOnType(metadataType.TypeUsage.EdmType.FullName)); 984throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.CannotInstantiateAbstractType(metadataType.TypeUsage.EdmType.FullName)); 992throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.InvalidDistinctArgumentInCtor); 1004throw EntityUtil.EntitySqlError(methodExpr.Relationships.ErrCtx, Strings.InvalidModeForWithRelationshipClause); 1010throw EntityUtil.EntitySqlError(methodExpr.Relationships.ErrCtx, Strings.InvalidTypeForWithRelationshipClause); 1024throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.RelationshipTargetMustBeUnique(targetEndId)); 1045throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.CannotCallNoncomposableFunction(metadataFunctionGroup.Name)); 1136throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.FailedToResolveAggregateFunction(metadataFunctionGroup.Name)); 1206throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.AmbiguousFunctionArguments); 1253throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.AmbiguousFunctionArguments); 1352throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.NumberOfTypeCtorIsLessThenFormalSpec(member.Name)); 1363throw EntityUtil.EntitySqlError(methodExpr.Args[idx].ErrCtx, 1378throw EntityUtil.EntitySqlError(methodExpr.Args[idx].ErrCtx, 1395throw EntityUtil.EntitySqlError(methodExpr.Args[idx].ErrCtx, 1411throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.NumberOfTypeCtorIsMoreThenFormalSpec(stype.FullName)); 1447throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.InvalidDistinctArgumentInNonAggFunction); 1470throw EntityUtil.EntitySqlError(methodExpr.ErrCtx, Strings.AmbiguousFunctionArguments); 1541throw EntityUtil.EntitySqlError(parameter.ErrCtx, Strings.ParameterWasNotDefined(parameter.Name)); 1563throw EntityUtil.EntitySqlError(relshipExpr.TypeName.ErrCtx, Strings.RelationshipTypeExpected(edmType.FullName)); 1577throw EntityUtil.EntitySqlError(relshipExpr.RefExpr.ErrCtx, Strings.RelatedEndExprTypeMustBeReference); 1589throw EntityUtil.EntitySqlError(relshipExpr.ToEndIdentifier.ErrCtx, Strings.InvalidRelationshipMember(relshipExpr.ToEndIdentifier.Name, relationshipType.FullName)); 1596throw EntityUtil.EntitySqlError(relshipExpr.ToEndIdentifier.ErrCtx, 1601throw EntityUtil.EntitySqlError(relshipExpr.RefExpr.ErrCtx, Strings.RelatedEndExprTypeMustBePromotoableToToEnd(refType.FullName, toEnd.TypeUsage.EdmType.FullName)); 1616throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.InvalidImplicitRelationshipToEnd(relationshipType.FullName)); 1618throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.RelationshipToEndIsAmbiguos); 1632throw EntityUtil.EntitySqlError(relshipExpr.FromEndIdentifier.ErrCtx, Strings.InvalidRelationshipMember(relshipExpr.FromEndIdentifier.Name, relationshipType.FullName)); 1636throw EntityUtil.EntitySqlError(relshipExpr.FromEndIdentifier.ErrCtx, 1641throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.RelationshipFromEndIsAmbiguos); 1655throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.InvalidImplicitRelationshipFromEnd(relationshipType.FullName)); 1658throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.RelationshipFromEndIsAmbiguos); 1680throw EntityUtil.EntitySqlError(relshipExpr.TypeName.ErrCtx, Strings.RelationshipTypeExpected(edmType.FullName)); 1702throw EntityUtil.EntitySqlError(relshipExpr.RefExpr.ErrCtx, Strings.RelatedEndExprTypeMustBeReference); 1715throw EntityUtil.EntitySqlError(relshipExpr.ToEndIdentifier.ErrCtx, Strings.InvalidRelationshipMember(relshipExpr.ToEndIdentifier.Name, relationshipType.FullName)); 1732throw EntityUtil.EntitySqlError(relshipExpr.FromEndIdentifier.ErrCtx, Strings.InvalidRelationshipMember(relshipExpr.FromEndIdentifier.Name, relationshipType.FullName)); 1736throw EntityUtil.EntitySqlError(relshipExpr.FromEndIdentifier.ErrCtx, 1741throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.RelationshipFromEndIsAmbiguos); 1755throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.InvalidImplicitRelationshipFromEnd(relationshipType.FullName)); 1758throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.RelationshipFromEndIsAmbiguos); 1776throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.InvalidImplicitRelationshipToEnd(relationshipType.FullName)); 1779throw EntityUtil.EntitySqlError(relshipExpr.ErrCtx, Strings.RelationshipToEndIsAmbiguos); 1807throw EntityUtil.EntitySqlError(refExpr.ArgExpr.ErrCtx, Strings.RefArgIsNotOfEntityType(converted.ResultType.EdmType.FullName)); 1835throw EntityUtil.EntitySqlError(deRefExpr.ArgExpr.ErrCtx, Strings.DeRefArgIsNotOfRefType(converted.ResultType.EdmType.FullName)); 1862throw EntityUtil.EntitySqlError(createRefExpr.EntitySet.ErrCtx, Strings.ExprIsNotValidEntitySetForCreateRef); 1871throw EntityUtil.EntitySqlError(createRefExpr.EntitySet.ErrCtx, Strings.ExprIsNotValidEntitySetForCreateRef); 1879throw EntityUtil.EntitySqlError(createRefExpr.Keys.ErrCtx, Strings.InvalidCreateRefKeyType); 1886throw EntityUtil.EntitySqlError(createRefExpr.Keys.ErrCtx, Strings.ImcompatibleCreateRefKeyType); 1891throw EntityUtil.EntitySqlError(createRefExpr.Keys.ErrCtx, Strings.ImcompatibleCreateRefKeyElementType); 1907throw EntityUtil.EntitySqlError(createRefExpr.TypeIdentifier.ErrCtx, 1915throw EntityUtil.EntitySqlError(createRefExpr.TypeIdentifier.ErrCtx, 1951throw EntityUtil.EntitySqlError(keyExpr.ArgExpr.ErrCtx, Strings.InvalidKeyArgument(converted.ResultType.EdmType.FullName)); 1970throw EntityUtil.EntitySqlError(Strings.UnknownBuiltInAstExpressionType); 1993throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg1.ErrCtx, Strings.ExpressionMustBeNumericType); 2000throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg2.ErrCtx, Strings.ExpressionMustBeNumericType); 2005throw EntityUtil.EntitySqlError(astBuiltInExpr.ErrCtx, Strings.ArgumentTypesAreIncompatible( 2030throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg1.ErrCtx, Strings.PlusLeftExpressionInvalidType); 2035throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg2.ErrCtx, Strings.PlusRightExpressionInvalidType); 2040throw EntityUtil.EntitySqlError(astBuiltInExpr.ErrCtx, Strings.ArgumentTypesAreIncompatible( 2076throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg1.ErrCtx, Strings.ExpressionTypeMustBeBoolean); 2084throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg2.ErrCtx, Strings.ExpressionTypeMustBeBoolean); 2113throw EntityUtil.EntitySqlError(astBuiltInExpr.ErrCtx, Strings.ArgumentTypesAreIncompatible( 2140throw EntityUtil.EntitySqlError(astBuiltInExpr.ErrCtx, Strings.ArgumentTypesAreIncompatible( 2175throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg1.ErrCtx, Strings.LeftSetExpressionArgsMustBeCollection); 2188throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg2.ErrCtx, Strings.RightSetExpressionArgsMustBeCollection); 2206throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg1.ErrCtx, 2218throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg2.ErrCtx, 2229throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg1.ErrCtx, Strings.InvalidAssociationTypeForUnion(leftElemType.EdmType.FullName)); 2234throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg2.ErrCtx, Strings.InvalidAssociationTypeForUnion(rightElemType.EdmType.FullName)); 2249throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg1.ErrCtx, Strings.InvalidUnarySetOpArgument(astBuiltInExpr.Name)); 2257throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg1.ErrCtx, Strings.ExpressionTypeMustBeEqualComparable); 2276throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg2.ErrCtx, Strings.RightSetExpressionArgsMustBeCollection); 2292throw EntityUtil.EntitySqlError(astBuiltInExpr.Arg1.ErrCtx, Strings.ExpressionTypeMustNotBeCollection); 2301throw EntityUtil.EntitySqlError(astBuiltInExpr.ErrCtx, Strings.InvalidInExprArgs(leftExpr.ResultType.EdmType.FullName, rightExpr.ResultType.EdmType.FullName)); 2311throw EntityUtil.EntitySqlError(errCtx, Strings.NullLiteralCannotBePromotedToCollectionOfNulls); 2363throw EntityUtil.EntitySqlError(typeName.ErrCtx, Strings.InvalidMetadataMemberName); 2384throw EntityUtil.EntitySqlError(typeName.ErrCtx, Strings.TypeNameNotFound(metadataMember.Name)); 2387throw EntityUtil.EntitySqlError(typeName.ErrCtx, Strings.InvalidMetadataMemberClassResolution( 2403throw EntityUtil.EntitySqlError(arg.ErrCtx, Strings.TypeArgumentMustBeLiteral); 2413throw EntityUtil.EntitySqlError(errCtx, Strings.TypeDoesNotSupportSpec(primitiveType.FullName)); 2421throw EntityUtil.EntitySqlError(errCtx, Strings.TypeArgumentCountMismatch(primitiveType.FullName, 2)); 2444throw EntityUtil.EntitySqlError(typeSpecArgs[0].ErrCtx, Strings.PrecisionMustBeGreaterThanScale(precision, scale)); 2455throw EntityUtil.EntitySqlError(value.ErrCtx, Strings.TypeDoesNotSupportFacet(type.FullName, facetName)); 2462throw EntityUtil.EntitySqlError(value.ErrCtx, Strings.TypeArgumentExceedsMax(facetName)); 2467throw EntityUtil.EntitySqlError(value.ErrCtx, Strings.TypeArgumentBelowMin(facetName)); 2472throw EntityUtil.EntitySqlError(value.ErrCtx, Strings.TypeArgumentIsNotValid); 2501throw EntityUtil.EntitySqlError(refTypeDefExpr.RefTypeIdentifier.ErrCtx, 2544throw EntityUtil.EntitySqlError(aliasExpr.Expr.ErrCtx, Strings.RowCtorElementCannotBeNull); 2578throw EntityUtil.EntitySqlError(expr.ErrCtx, Strings.CannotCreateEmptyMultiset); 2590throw EntityUtil.EntitySqlError(expr.ErrCtx, Strings.CannotCreateMultisetofNulls); 2600throw EntityUtil.EntitySqlError(expr.ErrCtx, Strings.MultisetElemsAreNotTypeCompatible); 2641throw EntityUtil.EntitySqlError(whenThenExpr.WhenExpr.ErrCtx, Strings.ExpressionTypeMustBeBoolean); 2666throw EntityUtil.EntitySqlError(caseExpr.ElseExpr.ErrCtx, Strings.InvalidCaseWhenThenNullType); 2675throw EntityUtil.EntitySqlError(caseExpr.WhenThenExprList[0].ThenExpr.ErrCtx, Strings.InvalidCaseResultTypes); 2725throw EntityUtil.EntitySqlError(queryExpr.ErrCtx, Strings.HavingRequiresGroupClause); 2731throw EntityUtil.EntitySqlError(queryExpr.SelectClause.TopExpr.ErrCtx, Strings.TopAndLimitCannotCoexist); 2736throw EntityUtil.EntitySqlError(queryExpr.SelectClause.TopExpr.ErrCtx, Strings.TopAndSkipCannotCoexist); 2863throw EntityUtil.EntitySqlError(selectClause.ErrCtx, Strings.InvalidSelectValueList); 2871throw EntityUtil.EntitySqlError(selectClause.Items[0].ErrCtx, Strings.InvalidSelectValueAliasedExpression); 2977throw EntityUtil.EntitySqlError(errCtx, Strings.SelectDistinctMustBeEqualComparable); 2986throw EntityUtil.EntitySqlError(errCtx, Strings.PlaceholderExpressionMustBeConstant(exprName)); 2991throw EntityUtil.EntitySqlError(errCtx, Strings.PlaceholderExpressionMustBeCompatibleWithEdm64(exprName, expr.ResultType.EdmType.FullName)); 2997throw EntityUtil.EntitySqlError(errCtx, Strings.PlaceholderExpressionMustBeGreaterThanOrEqualToZero(exprName)); 3089throw EntityUtil.EntitySqlError(aliasedExpr.Expr.ErrCtx, Strings.ExpressionMustBeCollection); 3145throw EntityUtil.EntitySqlError(joinClause.ErrCtx, Strings.InnerJoinMustHaveOnPredicate); 3152throw EntityUtil.EntitySqlError(joinClause.OnExpr.ErrCtx, Strings.InvalidPredicateForCrossJoin); 3339throw EntityUtil.EntitySqlError(errCtx, Strings.ExpressionTypeMustBeBoolean); 3449throw EntityUtil.EntitySqlError(aliasedExpr.Expr.ErrCtx, Strings.KeyMustBeCorrelated("GROUP BY")); 3458throw EntityUtil.EntitySqlError(aliasedExpr.Expr.ErrCtx, Strings.GroupingKeysMustBeEqualComparable); 3674throw EntityUtil.EntitySqlError(orderItem.ErrCtx, Strings.KeyMustBeCorrelated("ORDER BY")); 4177throw EntityUtil.EntitySqlError(orderClauseItem.ErrCtx, Strings.KeyMustBeCorrelated("ORDER BY")); 4185throw EntityUtil.EntitySqlError(orderClauseItem.OrderExpr.ErrCtx, Strings.OrderByKeyIsNotOrderComparable); 4201throw EntityUtil.EntitySqlError(orderClauseItem.OrderExpr.ErrCtx, Strings.InvalidKeyTypeForCollation(keyExpr.ResultType.EdmType.FullName)); 4399throw EntityUtil.EntitySqlError(bltInExpr.ErrCtx, Strings.ConcatBuiltinNotSupported); 4415throw EntityUtil.EntitySqlError(bltInExpr.ErrCtx, Strings.ConcatBuiltinNotSupported); 4484throw EntityUtil.EntitySqlError(Strings.InvalidUnsignedTypeForUnaryMinusOperation(argument.ResultType.EdmType.FullName)); 4692throw EntityUtil.NotSupported(Strings.ElementOperatorIsNotSupported); 4728throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.InvalidFlattenArgument); 4733throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.InvalidFlattenArgument); 4849throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.IsNullInvalidType); 4869throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.IsNullInvalidType); 4895throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, 4902throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, 4910throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, Strings.TypeMustBeEntityType(Strings.CtxIsOf, 4916throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, Strings.TypeMustBeNominalType(Strings.CtxIsOf, 4923throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.TypeMustBeInheritableType); 4928throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, Strings.TypeMustBeInheritableType); 4933throw EntityUtil.EntitySqlError(bltInExpr.ErrCtx, Strings.NotASuperOrSubType(exprToFilter.ResultType.EdmType.FullName, 4971throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, 4978throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, 4990throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, 4997throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, 5005throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.TypeMustBeInheritableType); 5010throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, Strings.TypeMustBeInheritableType); 5015throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.NotASuperOrSubType(exprToTreat.ResultType.EdmType.FullName, 5037throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, Strings.InvalidCastType); 5050throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.InvalidCastExpressionType); 5055throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.InvalidCast(exprToCast.ResultType.EdmType.FullName, typeToCastTo.EdmType.FullName)); 5077throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.ExpressionMustBeCollection); 5083throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, 5088throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, 5094throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, 5099throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, 5105throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, Strings.OfTypeOnlyTypeArgumentCannotBeAbstract(typeToFilterTo.EdmType.FullName)); 5110throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.NotASuperOrSubType(elementType.EdmType.FullName, typeToFilterTo.EdmType.FullName)); 5142throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.LikeArgMustBeStringType); 5152throw EntityUtil.EntitySqlError(bltInExpr.Arg2.ErrCtx, Strings.LikeArgMustBeStringType); 5164throw EntityUtil.EntitySqlError(bltInExpr.Arg3.ErrCtx, Strings.LikeArgMustBeStringType); 5219throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.BetweenLimitsTypesAreNotCompatible(limitsExpr.Left.ResultType.EdmType.FullName, limitsExpr.Right.ResultType.EdmType.FullName)); 5227throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.BetweenLimitsTypesAreNotOrderComparable(limitsExpr.Left.ResultType.EdmType.FullName, limitsExpr.Right.ResultType.EdmType.FullName)); 5244throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, Strings.BetweenValueIsNotOrderComparable(valueExpr.ResultType.EdmType.FullName, rangeCommonType.EdmType.FullName));
System\Data\Common\EntitySql\SemanticResolver.cs (11)
119EntityUtil.CheckArgumentNull(perspective, "perspective"); 120EntityUtil.CheckArgumentNull(parserOptions, "parserOptions"); 185throw EntityUtil.EntitySqlError(Strings.MultipleDefinitionsOfParameter(paramDef.ParameterName)); 212throw EntityUtil.EntitySqlError(Strings.MultipleDefinitionsOfVariable(varDef.VariableName)); 490throw EntityUtil.EntitySqlError(errCtx, Strings.InvalidJoinLeftCorrelation); 602throw EntityUtil.EntitySqlError(errCtx, Strings.NotAMemberOfCollection(name, valueExpr.ResultType.EdmType.FullName)); 606throw EntityUtil.EntitySqlError(errCtx, Strings.NotAMemberOfType(name, valueExpr.ResultType.EdmType.FullName)); 654throw EntityUtil.EntitySqlError(errCtx, Strings.InvalidDeRefProperty(name, derefExprType.EdmType.FullName, valueExpr.ResultType.EdmType.FullName)); 675throw EntityUtil.EntitySqlError(errCtx, Strings.MemberDoesNotBelongToEntityContainer(name, entityContainer.Name)); 1225throw EntityUtil.EntitySqlError(Strings.GroupVarNotFoundInScope); 1288throw EntityUtil.EntitySqlError(Strings.NestedAggregateCannotBeUsedInAggregate(nestedAggregateInfo, currentAggregateInfo));
System\Data\Common\EntitySql\StaticContext.cs (3)
334throw EntityUtil.EntitySqlError(errCtx, Strings.InvalidGroupIdentifierReference(refName)); 489throw EntityUtil.EntitySqlError(Strings.InvalidScopeIndex); 508throw EntityUtil.EntitySqlError(Strings.InvalidSavePoint);
System\Data\Common\EntitySql\TypeResolver.cs (7)
190EntityUtil.CheckArgumentNull(perspective, "perspective"); 248throw EntityUtil.EntitySqlError(errCtx, Strings.NamespaceAliasAlreadyUsed(alias)); 261throw EntityUtil.EntitySqlError(errCtx, Strings.NamespaceAlreadyImported(@namespace.Name)); 289throw EntityUtil.EntitySqlError(functionInfo.FunctionDefAst.ErrCtx, Strings.DuplicatedInlineFunctionOverload(name)); 392throw EntityUtil.EntitySqlError(errCtx, Strings.NotAMemberOfType(name, qualifier.Name)); 397throw EntityUtil.EntitySqlError(errCtx, Strings.InvalidMetadataMemberClassResolution( 547throw EntityUtil.EntitySqlError(errCtx, Strings.AmbiguousMetadataMemberName(name, ns1.Name, ns2 != null ? ns2.Name : null));
System\Data\Common\EntityUtil.cs (75)
177if (!EntityUtil.TryGetICollectionElementType(propertyType, out elementType)) 179throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.PocoEntityWrapper_UnexpectedTypeForNavigationProperty( 203var elementType = EntityUtil.GetCollectionElementType(requestedType); 207throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectQuery_UnableToMaterializeArray( 750return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_OriginalValuesDoesNotExist); 754return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_CurrentValuesDoesNotExist); 758return EntityUtil.Argument(System.Data.Entity.Strings.ObjectStateEntry_InvalidTypeForComplexTypeProperty, argument); 762return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_InvalidState); 766throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_CantModifyDetachedDeletedEntries); 771throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_SetModifiedStates(methodName)); 775return EntityUtil.InvalidOperation(System.Data.Entity.Strings.Entity_EntityCantHaveMultipleChangeTrackers); 779return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_CantModifyRelationValues); 783return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_CantModifyRelationState); 787return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_CannotModifyKeyProperty(fieldName)); 791return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_CantSetEntityKey); 795return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_CannotAccessKeyEntryValues); 799return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_CannotModifyKeyEntryState); 804return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_CannotDeleteOnKeyEntry); 808return EntityUtil.Argument(System.Data.Entity.Strings.ObjectStateEntry_SetModifiedOnInvalidProperty(propertyName)); 811return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_NoEntryExistForEntityKey); 814return EntityUtil.Argument(System.Data.Entity.Strings.ObjectStateManager_DetachedObjectStateEntriesDoesNotExistInObjectStateManager); 818return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_ObjectStateManagerContainsThisEntityKey); 821return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_DoesnotAllowToReAddUnchangedOrModifiedOrDeletedEntity(state)); 824return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_CannotFixUpKeyToExistingValues); 830return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_KeyPropertyDoesntMatchValueInKeyForAttach); 834return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_KeyPropertyDoesntMatchValueInKey); 868return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_InvalidKey); 871return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_AcceptChangesEntityKeyIsNotValid); 874return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_EntityConflictsWithKeyEntry); 877return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_GetEntityKeyRequiresObjectToHaveAKey(entity.GetType().FullName)); 880return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_EntityMemberChangedWithoutEntityMemberChanging); 883return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateEntry_ChangedInDifferentStateFromChanging(previousState, currentState)); 886return EntityUtil.Argument(System.Data.Entity.Strings.ObjectStateEntry_ChangeOnUnmappedProperty(entityPropertyName)); 890return EntityUtil.Argument(System.Data.Entity.Strings.ObjectStateEntry_ChangeOnUnmappedComplexProperty(complexPropertyName)); 898return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_NoEntryExistsForObject(entity.GetType().FullName)); 902return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectStateManager_EntityNotTracked); 926throw EntityUtil.Constraint( 931throw EntityUtil.PropertyConstraint( 940throw EntityUtil.Constraint( 947throw EntityUtil.InvalidOperation( 959return EntityUtil.InvalidOperation( 965return EntityUtil.InvalidOperation( 973return EntityUtil.InvalidOperation(System.Data.Entity.Strings.Materializer_NullReferenceCast(destinationType.Name)); 1135throw EntityUtil.UnexpectedNullContext(); 1147throw EntityUtil.InvalidMergeOption(mergeOption); 1156throw EntityUtil.InvalidRefreshMode(refreshMode); 1199return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_ClientEntityRemovedFromStore(entitiesKeys)); 1202return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_StoreEntityNotPresentInClient); 1205return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_MetadataHasChanged); 1219return EntityUtil.Argument(System.Data.Entity.Strings.ObjectContext_InvalidConnectionString, parameter, inner); 1222return EntityUtil.Argument(System.Data.Entity.Strings.ObjectContext_InvalidConnection, parameter, inner); 1225return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_InvalidDataAdapter); 1228return EntityUtil.Argument(System.Data.Entity.Strings.ObjectContext_InvalidDefaultContainerName(defaultContainerName), parameter); 1231return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_NthElementInAddedState(i)); 1234return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_NthElementIsDuplicate(i)); 1237return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_NthElementIsNull(i)); 1240return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_NthElementNotInObjectStateManager(i)); 1243return EntityUtil.ObjectDisposed(System.Data.Entity.Strings.ObjectContext_ObjectDisposed); 1246return EntityUtil.ObjectNotFound(System.Data.Entity.Strings.ObjectContext_ObjectNotFound); 1259return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_EntitySetNotFoundForName(entitySetName)); 1262return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_EntityContainerNotFoundForName(entityContainerName)); 1325return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_EntityNotTrackedOrHasTempKey); 1376return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ComplexObject_NullableComplexTypesNotSupported(propertyName)); 1380return EntityUtil.InvalidOperation(System.Data.Entity.Strings.ComplexObject_ComplexObjectAlreadyAttachedToParent); 1384return EntityUtil.Argument(System.Data.Entity.Strings.ComplexObject_ComplexChangeRequestedOnScalarProperty(propertyName)); 1489throw EntityUtil.UnexpectedNullEntityKey(); 1496throw EntityUtil.EntityKeyDoesntMatchKeySetOnEntity(wrappedEntity.Entity); 1505return EntityUtil.InvalidOperation(System.Data.Entity.Strings.RelationshipManager_InvalidRelationshipManagerOwner); 1528throw EntityUtil.InvalidEntitySetInKey( 1534throw EntityUtil.InvalidEntitySetInKeyFromName( 1632throw EntityUtil.Update(Strings.Update_MissingFunctionMapping(currentState, type, typeName), 1771throw EntityUtil.Argument(Strings.CheckArgumentContainsNullFailed(argumentName)); 1783throw EntityUtil.Argument(errorMessage(argumentName)); 1827return EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.ADP_InvalidEnumerationValue(type.Name, value.ToString(System.Globalization.CultureInfo.InvariantCulture)), type.Name); 2037return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, EntityUtil.StringCompareOptions);
System\Data\Common\FieldMetadata.cs (2)
30throw EntityUtil.ArgumentOutOfRange("ordinal"); 33throw EntityUtil.ArgumentNull("fieldType");
System\Data\Common\FieldNameLookup.cs (3)
61throw EntityUtil.ArgumentNull("fieldName"); 65throw EntityUtil.IndexOutOfRange(fieldName); 85index = LinearIndexOf(fieldName, EntityUtil.StringCompareOptions);
System\Data\Common\Internal\Materialization\CompensatingCollection.cs (3)
41_source = EntityUtil.CheckArgumentNull(source, "source"); 69throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_CreateOrderedEnumerableNotSupported); 90throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedQueryableMethod);
System\Data\Common\Internal\Materialization\Coordinator.cs (1)
282if (EntityUtil.IsCatchableExceptionType(e))
System\Data\Common\Internal\Materialization\RecordState.cs (1)
205throw EntityUtil.ArgumentOutOfRange("ordinal");
System\Data\Common\Internal\Materialization\Shaper.cs (14)
206throw EntityUtil.RecyclingEntity(existingEntry.EntityKey, typeof(TEntity), existingEntry.WrappedEntity.IdentityType); 211throw EntityUtil.AddedEntityAlreadyExists(existingEntry.EntityKey); 751throw EntityUtil.RecyclingEntity(existingEntry.EntityKey, clrType, existingEntry.WrappedEntity.IdentityType); 756throw EntityUtil.AddedEntityAlreadyExists(existingEntry.EntityKey); 878if (EntityUtil.IsCatchableExceptionType(e)) 923return EntityUtil.ValueNullReferenceCast(typeof(TColumn)); 928return EntityUtil.ValueInvalidCast(resultType, typeof(TColumn)); 953return EntityUtil.Constraint( 961return EntityUtil.InvalidOperation( 1205throw EntityUtil.DataReaderClosed(operation); 1209if (EntityUtil.IsCatchableEntityExceptionType(e)) 1211throw EntityUtil.CommandExecution(System.Data.Entity.Strings.EntityClient_StoreReaderFailed, e); 1305throw EntityUtil.NotSupported(); 1422throw EntityUtil.NotSupported();
System\Data\Common\Internal\Materialization\Translator.cs (7)
678EntityUtil.CheckArgumentNull(type, "type"); 835throw EntityUtil.ValueInvalidCast(valueType, typeof(TTarget)); 839throw EntityUtil.ValueNullReferenceCast(typeof(TTarget)); 1883if (EntityUtil.TryGetICollectionElementType(arg.RequestedType, out innerElementType)) 1887var typeToInstantiate = EntityUtil.DetermineCollectionType(arg.RequestedType); 1891throw EntityUtil.InvalidOperation(Strings.ObjectQuery_UnableToMaterializeArbitaryProjectionType(arg.RequestedType)); 2223throw EntityUtil.InvalidOperation(String.Empty);
System\Data\Common\Internal\Materialization\Util.cs (1)
60throw EntityUtil.MaterializerUnsupportedType();
System\Data\Common\Internal\MultipartIdentifier.cs (6)
102throw EntityUtil.ADP_InvalidMultipartNameDelimiterUsage(); 124throw EntityUtil.ADP_InvalidMultipartNameDelimiterUsage(); 129throw EntityUtil.ADP_InvalidMultipartNameDelimiterUsage(); 204throw EntityUtil.ADP_InvalidMultipartNameDelimiterUsage(); 225throw EntityUtil.ADP_InvalidMultipartNameDelimiterUsage(); 248throw EntityUtil.ADP_InvalidMultipartNameDelimiterUsage();
System\Data\Common\QueryCache\CompiledQueryCacheEntry.cs (1)
117throw EntityUtil.ArgumentOutOfRange("newPlan.MergeOption");
System\Data\Common\Utils\Boolean\Vertex.cs (1)
41EntityUtil.BoolExprAssert(variable < int.MaxValue,
System\Data\Common\Utils\CommandHelper.cs (5)
65throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_InvalidStoredProcedureCommandText); 84throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_InvalidTransactionForCommand); 173throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_UnableToFindFunctionImportContainer( 189throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_UnableToFindFunctionImport( 194throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_FunctionImportMustBeNonComposable(containerName + "." + functionImportName));
System\Data\Common\Utils\Helpers.cs (4)
94EntityUtil.CheckArgumentNull(nodes, "nodes"); 95EntityUtil.CheckArgumentNull(combinator, "combinator"); 161EntityUtil.CheckArgumentNull(isLeaf, "isLeaf"); 162EntityUtil.CheckArgumentNull(getImmediateSubNodes, "getImmediateSubNodes");
System\Data\Common\Utils\Memoizer.cs (1)
34EntityUtil.CheckArgumentNull(function, "function");
System\Data\Common\Utils\MetadataHelper.cs (2)
105throw EntityUtil.ExecuteFunctionCalledWithNonReaderFunction(functionImport); 130throw EntityUtil.ExecuteFunctionTypeMismatch(typeof(TElement), expectedEdmType);
System\Data\Common\Utils\Singleton.cs (1)
37EntityUtil.CheckArgumentNull(function, "function");
System\Data\EntityClient\DbConnectionOptions.cs (19)
114throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ADP_InvalidDataDirectory); 148if (!EntityUtil.GetFullPath(fullPath).StartsWith(rootFolderPath, StringComparison.Ordinal)) 150throw EntityUtil.InvalidConnectionOptionValue(keyword); 225if (Char.IsControl(currentChar)) { throw EntityUtil.ConnectionStringSyntax(startposition); } 241if (Char.IsControl(currentChar)) { throw EntityUtil.ConnectionStringSyntax(startposition); } 247if (string.IsNullOrEmpty(keyname)) { throw EntityUtil.ConnectionStringSyntax(startposition); } 259if (Char.IsControl(currentChar)) { throw EntityUtil.ConnectionStringSyntax(startposition); } 270if ('\0' == currentChar) { throw EntityUtil.ConnectionStringSyntax(startposition); } 281if ('\0' == currentChar) { throw EntityUtil.ConnectionStringSyntax(startposition); } 294throw EntityUtil.ConnectionStringSyntax(startposition); // unbalanced single quote 299throw EntityUtil.ConnectionStringSyntax(currentPosition); 302throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidParserState1); 313throw EntityUtil.ConnectionStringSyntax(startposition); 318if (string.IsNullOrEmpty(keyname)) { throw EntityUtil.ConnectionStringSyntax(startposition); } 328throw EntityUtil.ConnectionStringSyntax(startposition); // unquoted value must not end in quote 346throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidParserState2); 508throw EntityUtil.ADP_KeywordNotSupported(keyname);
System\Data\EntityClient\DbParameterCollectionHelper.cs (14)
82throw EntityUtil.ArgumentNull("values"); 96throw EntityUtil.EntityParameterCollectionInvalidParameterName(parameterName); 133throw EntityUtil.EntityParameterCollectionInvalidParameterName(parameterName); 143if (0 == EntityUtil.SrcCompare(parameterName, parameter.ParameterName)) { 151if (0 == EntityUtil.DstCompare(parameterName, parameter.ParameterName)) { 192throw EntityUtil.EntityParameterCollectionInvalidIndex(index, Count); 204throw EntityUtil.EntityParameterCollectionRemoveInvalidObject(); 248throw EntityUtil.EntityParameterCollectionInvalidParameterName(parameterName); 255throw EntityUtil.EntityParameterNull("value"); 261throw EntityUtil.EntityParameterContainedByAnotherCollection(); 264throw EntityUtil.EntityParameterContainedByAnotherCollection(); 272name = EntityUtil.Parameter + index.ToString(CultureInfo.CurrentCulture); 281throw EntityUtil.EntityParameterNull("value"); 284throw EntityUtil.InvalidEntityParameterType(value);
System\Data\EntityClient\DbParameterHelper.cs (6)
37EntityUtil.CheckArgumentNull(source, "source"); 77throw EntityUtil.InvalidParameterDirection(value); 114throw EntityUtil.InvalidSizeValue(value); 179throw EntityUtil.InvalidDataRowVersion(value); 197EntityUtil.CheckArgumentNull(destination, "destination"); 236if (!EntityUtil.IsNull(value)) {
System\Data\EntityClient\EntityAdapter.cs (4)
101EntityUtil.CheckArgumentNull(entityCache, "entityCache"); 107throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_NoConnectionForAdapter); 113throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_NoStoreConnectionForUpdate); 119throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ClosedConnectionForUpdate);
System\Data\EntityClient\EntityCommand.cs (19)
191throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_CannotGetCommandText); 201throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_CannotSetCommandText); 226throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_CannotGetCommandTree); 236throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_CannotSetCommandTree); 241throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.CommandTreeOnStoredProcedureEntityCommand); 306throw EntityUtil.NotSupported(System.Data.Entity.Strings.EntityClient_UnsupportedCommandType); 599throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_CannotReprepareCommandDefinitionBasedCommand); 603throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_NoCommandText); 629throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_FunctionImportEmptyCommandText); 754throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_CommandTreeMetadataIncompatible); 764throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_NoConnectionForCommand); 778throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ConnectionStringNeededBeforeOperation); 788throw EntityUtil.InvalidOperation(message); 799throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_DataReaderIsStillOpen); 820throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_EmptyParameterName); 827throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_InvalidParameterDirection(parameter.ParameterName)); 833throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_UnknownParameterType(parameterName)); 848throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_DuplicateParameterNames(parameter.ParameterName), e);
System\Data\EntityClient\EntityCommandDefinition.cs (11)
62EntityUtil.CheckArgumentNull(storeProviderFactory, "storeProviderFactory"); 63EntityUtil.CheckArgumentNull(commandTree, "commandTree"); 85throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.ProviderReturnedNullForCreateCommandDefinition); 144if (EntityUtil.IsCatchableExceptionType(e)) { 148throw EntityUtil.CommandCompilation(System.Data.Entity.Strings.EntityClient_CommandDefinitionPreparationFailed, e); 251throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_UnmappedFunctionImport(functionCommandTree.EdmFunction.FullName)); 371throw EntityUtil.MustUseSequentialAccess(); 420throw EntityUtil.NotSupported("MARS"); 480if (EntityUtil.IsCatchableExceptionType(e)) { 484throw EntityUtil.CommandExecution(System.Data.Entity.Strings.EntityClient_CommandDefinitionExecutionFailed, e); 588throw EntityUtil.CommandExecution(System.Data.Entity.Strings.EntityClient_TooFewColumns);
System\Data\EntityClient\EntityConnection.cs (50)
101EntityUtil.CheckArgumentNull(workspace, "workspace"); 102EntityUtil.CheckArgumentNull(connection, "connection"); 107throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_ItemCollectionsNotRegisteredInWorkspace("EdmItemCollection")); 111throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_ItemCollectionsNotRegisteredInWorkspace("StoreItemCollection")); 115throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_ItemCollectionsNotRegisteredInWorkspace("StorageMappingItemCollection")); 120throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_ConnectionMustBeClosed); 126throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.EntityClient_DbConnectionHasNoProvider(connection)); 153if (!EntityUtil.TryGetProviderInvariantName(DbProviderFactories.GetFactory(_storeConnection), out invariantName)) 189if (EntityUtil.IsCatchableExceptionType(e)) 191throw EntityUtil.Provider(@"ConnectionString", e); 247if (EntityUtil.IsCatchableExceptionType(e)) 249throw EntityUtil.Provider(@"ConnectionTimeout", e); 288if (EntityUtil.IsCatchableExceptionType(e)) 290throw EntityUtil.Provider(@"State", e); 313if (EntityUtil.IsCatchableExceptionType(e)) 315throw EntityUtil.Provider(@"DataSource", e); 330throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ConnectionStringNeededBeforeOperation); 334throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ConnectionNotOpen); 343if (EntityUtil.IsCatchableExceptionType(e)) 345throw EntityUtil.Provider(@"ServerVersion", e); 510throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ConnectionStringNeededBeforeOperation); 514throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_CannotReopenConnection); 529throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ConnectionNotOpen); 566if (EntityUtil.IsCatchableExceptionType(e)) 572throw EntityUtil.ProviderExceptionWithMessage(exceptionMessage, e); 598if (EntityUtil.IsCatchableExceptionType(ex)) 665throw EntityUtil.NotSupported(); 696throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_TransactionAlreadyStarted); 700throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ConnectionStringNeededBeforeOperation); 704throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ConnectionNotOpen); 714if (EntityUtil.IsCatchableExceptionType(e)) 716throw EntityUtil.ProviderExceptionWithMessage( 728throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.EntityClient_ReturnedNullOnProviderMethod("BeginTransaction", _storeConnection.GetType().Name)); 742throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ConnectionStringNeededBeforeOperation); 746throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_ConnectionNotOpen); 774if (EntityUtil.IsCatchableExceptionType(e)) 776throw EntityUtil.Provider(@"EnlistTransaction", e); 858throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_ExtraParametersWithNamedConnection); 865throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_InvalidNamedConnection); 874throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_NestedNamedConnection(namedConnection)); 902if (EntityUtil.IsCatchableExceptionType(e)) 904throw EntityUtil.Provider(@"ConnectionString", e); 939throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_ConnectionStringMissingInfo(keywordName)); 1002EntityUtil.CheckArgumentNull(factory, "factory"); 1005if (!EntityUtil.TryGetProviderInvariantName(factory, out providerName)) 1204if (EntityUtil.IsCatchableExceptionType(e)) 1206throw EntityUtil.ProviderExceptionWithMessage( 1249throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_SettingsCannotBeChangedOnOpenConnection); 1264throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_InvalidStoreProvider, e); 1276throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.EntityClient_ReturnedNullOnProviderMethod("CreateConnection", factory.GetType().Name));
System\Data\EntityClient\EntityConnectionStringBuilder.cs (8)
197EntityUtil.CheckArgumentNull(keyword, "keyword"); 218throw EntityUtil.KeywordNotSupported(keyword); 222EntityUtil.CheckArgumentNull(keyword, "keyword"); 235throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_ValueNotString, "value"); 258throw EntityUtil.KeywordNotSupported(keyword); 282EntityUtil.CheckArgumentNull(keyword, "keyword"); 303EntityUtil.CheckArgumentNull(keyword, "keyword"); 322EntityUtil.CheckArgumentNull(keyword, "keyword");
System\Data\EntityClient\EntityDataReader.cs (5)
126EntityUtil.CheckArgumentNull(name, "name"); 377EntityUtil.CheckArgumentNull(name, "name"); 475if (EntityUtil.IsCatchableExceptionType(e)) 477throw EntityUtil.CommandExecution(System.Data.Entity.Strings.EntityClient_StoreReaderFailed, e); 510EntityUtil.ThrowArgumentOutOfRangeException("i");
System\Data\EntityClient\EntityParameter.cs (5)
142throw EntityUtil.Argument(System.Data.Entity.Strings.EntityClient_InvalidParameterName(parameterName), argumentName); 177throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_CannotDeduceDbType, e); 208throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_EntityParameterEdmTypeNotScalar(value.FullName)); 433throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_EntityParameterInconsistentEdmType( 454throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.EntityClient_UnsupportedDbType(this.DbType.ToString(), ParameterName));
System\Data\EntityClient\EntityProviderFactory.cs (3)
54throw EntityUtil.NotSupported(); 82throw EntityUtil.NotSupported(); 101throw EntityUtil.NotSupported();
System\Data\EntityClient\EntityProviderServices.cs (8)
36EntityUtil.CheckArgumentNull(providerManifest, "providerManifest"); 37EntityUtil.CheckArgumentNull(commandTree, "commandTree"); 44EntityUtil.CheckArgumentNull(storeProviderFactory, "storeProviderFactory"); 60throw EntityUtil.ProviderIncompatible(Strings.EntityClient_RequiresNonStoreCommandTree); 74EntityUtil.CheckArgumentNull(prototype, "prototype"); 80EntityUtil.CheckArgumentNull(connection, "connection"); 83throw EntityUtil.Argument(System.Data.Entity.Strings.Mapping_Provider_WrongConnectionType(typeof(EntityConnection))); 91EntityUtil.CheckArgumentNull(versionHint, "versionHint");
System\Data\EntityClient\EntityTransaction.cs (4)
96if (EntityUtil.IsCatchableExceptionType(e)) 98throw EntityUtil.Provider(@"Commit", e); 117if (EntityUtil.IsCatchableExceptionType(e)) 119throw EntityUtil.Provider(@"Rollback", e);
System\Data\EntityClient\NameValuePair.cs (2)
34throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.NameValuePairNext);
System\Data\EntityKey.cs (42)
121EntityUtil.CheckArgumentNull(entityKeyValues, "entityKeyValues"); 136EntityUtil.CheckStringArgument(keyName, "keyName"); 137EntityUtil.CheckArgumentNull(keyValue, "keyValue"); 191EntityUtil.CheckArgumentNull(entitySet, "entitySet"); 375EntityUtil.CheckArgumentNull(metadataWorkspace, "metadataWorkspace"); 378throw EntityUtil.MissingQualifiedEntitySetName(); 734throw EntityUtil.EntitySetDoesNotMatch("metadataWorkspace", TypeHelpers.GetFullName(entitySet)); 808throw EntityUtil.ArgumentOutOfRange("keyName"); 816EntityUtil.CheckStringArgument(qualifiedEntitySetName, "qualifiedEntitySetName"); 821throw EntityUtil.InvalidQualifiedEntitySetName(); 831throw EntityUtil.InvalidQualifiedEntitySetName(); 842throw EntityUtil.EntityKeyInvalidName(name); 857EntityUtil.CheckArgumentNull(entityKeyValues, "entityKeyValues"); 877throw EntityUtil.EntityKeyMustHaveValues("entityKeyValues"); 890if (EntityUtil.IsNull(keyValuePair.Value) || String.IsNullOrEmpty(keyValuePair.Key)) 892throw EntityUtil.NoNullsAllowedInKeyValuePairs("entityKeyValues"); 909if (EntityUtil.IsNull(keyValuePair.Value) || String.IsNullOrEmpty(keyValuePair.Key)) 911throw EntityUtil.NoNullsAllowedInKeyValuePairs("entityKeyValues"); 958if (EntityUtil.IsNull(singletonKeyValue)) 960throw EntityUtil.NoNullsAllowedInKeyValuePairs("record"); 971if (EntityUtil.IsNull(compositeKeyValues[i])) 973throw EntityUtil.NoNullsAllowedInKeyValuePairs("record"); 1013throw EntityUtil.IncorrectNumberOfKeyValuePairs(argumentName, entitySet.ElementType.FullName, keyMembers.Count, 1); 1017throw EntityUtil.IncorrectNumberOfKeyValuePairsInvalidOperation(entitySet.ElementType.FullName, keyMembers.Count, 1); 1029throw EntityUtil.MissingKeyValue(argumentName, keyMembers[0].Name, entitySet.ElementType.FullName); 1033throw EntityUtil.MissingKeyValueInvalidOperation(keyMembers[0].Name, entitySet.ElementType.FullName); 1044throw EntityUtil.IncorrectNumberOfKeyValuePairs(argumentName, entitySet.ElementType.FullName, keyMembers.Count, _compositeKeyValues.Length); 1048throw EntityUtil.IncorrectNumberOfKeyValuePairsInvalidOperation(entitySet.ElementType.FullName, keyMembers.Count, _compositeKeyValues.Length); 1072throw EntityUtil.MissingKeyValue(argumentName, keyField.Name, entitySet.ElementType.FullName); 1076throw EntityUtil.MissingKeyValueInvalidOperation(keyField.Name, entitySet.ElementType.FullName); 1108throw EntityUtil.IncorrectValueType(argumentName, keyMember.Name, entitySetKeyType.FullName, keyValue.GetType().FullName); 1112throw EntityUtil.IncorrectValueTypeInvalidOperation(keyMember.Name, entitySetKeyType.FullName, keyValue.GetType().FullName); 1128throw EntityUtil.IncorrectValueType(argumentName, keyMember.Name, expectedClrEnumType.FullName, keyValue.GetType().FullName); 1132throw EntityUtil.IncorrectValueTypeInvalidOperation(keyMember.Name, expectedClrEnumType.FullName, keyValue.GetType().FullName); 1140throw EntityUtil.NoCorrespondingOSpaceTypeForEnumKeyField(argumentName, keyMember.Name, keyMemberEdmType.FullName); 1144throw EntityUtil.NoCorrespondingOSpaceTypeForEnumKeyFieldInvalidOperation(keyMember.Name, keyMemberEdmType.FullName); 1261throw EntityUtil.CannotChangeEntityKey(); 1341EntityUtil.CheckArgumentNull(keyName, "keyName"); 1342EntityUtil.CheckArgumentNull(keyValue, "keyValue"); 1360EntityUtil.CheckArgumentNull(value, "value"); 1378EntityUtil.CheckArgumentNull(value, "value"); 1399throw EntityUtil.CannotChangeEntityKey();
System\Data\EntityModel\SchemaObjectModel\FilteredSchemaElementLookUpTable.cs (1)
101throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnexpectedTypeInCollection(element.GetType(),key));
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (4)
143throw EntityUtil.NotSupported(); 225throw EntityUtil.NotSupported(); 235throw EntityUtil.NotSupported(); 244throw EntityUtil.NotSupported();
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (1)
90throw EntityUtil.NotSupported(_primitiveType.FullName);
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
381throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.AllElementsMustBeInSchema);
System\Data\InternalMappingException.cs (2)
66EntityUtil.CheckArgumentNull(errorLog, "errorLog"); 73EntityUtil.CheckArgumentNull(record, "record");
System\Data\Mapping\DefaultObjectMappingItemCollection.cs (3)
38EntityUtil.CheckArgumentNull(edmCollection, "edmCollection"); 39EntityUtil.CheckArgumentNull(objectCollection, "objectCollection"); 182EntityUtil.CheckArgumentNull(item, "item");
System\Data\Mapping\EntityViewGenerationAttribute.cs (1)
25EntityUtil.CheckArgumentNull<Type>(viewGenerationType, "viewGenType");
System\Data\Mapping\FunctionImportMapping.cs (11)
32this.FunctionImport = EntityUtil.CheckArgumentNull(functionImport, "functionImport"); 33this.TargetFunction = EntityUtil.CheckArgumentNull(targetFunction, "targetFunction"); 53EntityUtil.CheckArgumentNull(structuralTypeMappings, "structuralTypeMappings"); 54m_itemCollection = EntityUtil.CheckArgumentNull(itemCollection, "itemCollection"); 521EntityUtil.CheckArgumentNull(parent, "parent"); 522EntityUtil.CheckArgumentNull(columnConditions, "discriminatorValues"); 523EntityUtil.CheckArgumentNull(impliedEntityTypes, "impliedEntityTypes"); 563this.ColumnName = EntityUtil.CheckArgumentNull(columnName, "columnName"); 585this._xPathValue = EntityUtil.CheckArgumentNull(columnValue, "columnValue"); 619throw EntityUtil.CommandExecution(Strings.Mapping_FunctionImport_UnsupportedType(this.ColumnName, columnValueType.FullName)); 623throw EntityUtil.CommandExecution(Strings.Mapping_FunctionImport_ConditionValueTypeMismatch(StorageMslConstructs.FunctionImportMappingElement, this.ColumnName, columnValueType.FullName));
System\Data\Mapping\FunctionImportMapping.ReturnTypeRenameMapping.cs (9)
43EntityUtil.CheckArgumentNull(isOfTypeEntityTypes, "isOfTypeEntityTypes").ToList()); 45EntityUtil.CheckArgumentNull(entityTypes, "entityTypes").ToList()); 47EntityUtil.CheckArgumentNull(conditions, "conditions").ToList()); 119EntityUtil.CheckArgumentNull(isOfTypeEntityTypeColumnsRenameMapping, "isOfTypeEntityTypeColumnsRenameMapping"); 120EntityUtil.CheckArgumentNull(entityTypeColumnsRenameMapping, "entityTypeColumnsRenameMapping"); 146EntityUtil.CheckArgumentNull(entityType, "entityType"); 147EntityUtil.CheckArgumentNull(columnsRenameMapping, "columnsRenameMapping"); 215EntityUtil.CheckArgumentNull(type, "type"); 277EntityUtil.CheckArgumentNull(renamedColumn, "renamedColumn");
System\Data\Mapping\FunctionImportMappingComposable.cs (1)
40EntityUtil.CheckArgumentNull(mappingItemCollection, "mappingItemCollection");
System\Data\Mapping\FunctionImportMappingNonComposable.cs (7)
33EntityUtil.CheckArgumentNull(structuralTypeMappingsList, "structuralTypeMappingsList"); 34EntityUtil.CheckArgumentNull(itemCollection, "itemCollection"); 49EntityUtil.CheckArgumentNull(structuralTypeMappingsList, "structuralTypeMappingsList") 51EntityUtil.CheckArgumentNull(structuralTypeMappings, "structuralTypeMappings"), 81EntityUtil.ThrowArgumentOutOfRangeException("resultSetIndex"); 145throw EntityUtil.CommandExecution(System.Data.Entity.Strings.ADP_InvalidDataReaderUnableToDetermineType); 154throw EntityUtil.CommandExecution(System.Data.Entity.Strings.ADP_InvalidDataReaderUnableToDetermineType);
System\Data\Mapping\ObjectTypeMapping.cs (1)
160EntityUtil.CheckStringArgument(propertyName, "propertyName");
System\Data\Mapping\StorageEntityContainerMapping.cs (2)
266EntityUtil.CheckArgumentNull(entitySetName, "entitySetName"); 279EntityUtil.CheckArgumentNull(relationshipSetName, "relationshipSetName");
System\Data\Mapping\StorageMappingItemCollection.cs (14)
83EntityUtil.CheckArgumentNull(edmCollection, "edmCollection"); 84EntityUtil.CheckArgumentNull(storeCollection, "storeCollection"); 85EntityUtil.CheckArgumentNull(filePaths, "filePaths"); 125EntityUtil.CheckArgumentNull(xmlReaders, "xmlReaders"); 159EntityUtil.CheckArgumentNull(xmlReaders, "xmlReaders"); 160EntityUtil.CheckArgumentContainsNull(ref xmlReaders, "xmlReaders"); 199EntityUtil.CheckArgumentNull(xmlReaders, "xmlReaders"); 200EntityUtil.CheckArgumentNull(edmCollection, "edmCollection"); 201EntityUtil.CheckArgumentNull(storeCollection, "storeCollection"); 306EntityUtil.CheckArgumentNull(identity, "identity"); 309throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Mapping_Storage_InvalidSpace(typeSpace)); 326throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Mapping_Storage_InvalidSpace(typeSpace)); 360EntityUtil.CheckArgumentNull(item, "item"); 364throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Mapping_Storage_InvalidSpace(typeSpace));
System\Data\Mapping\StorageMappingItemCollection.ViewDictionary.cs (2)
356throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Mapping_Views_For_Extent_Not_Generated( 383throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Generated_View_Type_Super_Class(StorageMslConstructs.EntityViewGenerationTypeName));
System\Data\Mapping\StorageMappingItemLoader.cs (2)
3749m_parentLoader = EntityUtil.CheckArgumentNull(parentLoader, "parentLoader"); 3751m_modelContainer = EntityUtil.CheckArgumentNull<EntitySetBase>(extent, "extent").EntityContainer;
System\Data\Mapping\StorageModificationFunctionMapping.cs (10)
33this.AssociationSet = EntityUtil.CheckArgumentNull(associationSet, "associationSet"); 82this.EntityType = EntityUtil.CheckArgumentNull(entityType, "entityType"); 139EntityUtil.CheckArgumentNull(entitySet, "entitySet"); 140this.Function = EntityUtil.CheckArgumentNull(function, "function"); 142this.ParameterBindings = EntityUtil.CheckArgumentNull(parameterBindings, "parameterBindings") 235this.ColumnName = EntityUtil.CheckArgumentNull(columnName, "columnName"); 236this.Property = EntityUtil.CheckArgumentNull(property, "property"); 264this.Parameter = EntityUtil.CheckArgumentNull(parameter, "parameter"); 265this.MemberPath = EntityUtil.CheckArgumentNull(memberPath, "memberPath"); 300EntityUtil.CheckArgumentNull(members, "members")));
System\Data\Mapping\Update\Internal\CompositeKey.cs (2)
77_manager = EntityUtil.CheckArgumentNull(manager, "manager"); 127EntityUtil.CheckArgumentNull(key, "key");
System\Data\Mapping\Update\Internal\DynamicUpdateCommand.cs (2)
38m_processor = EntityUtil.CheckArgumentNull(processor, "processor"); 40m_modificationCommandTree = EntityUtil.CheckArgumentNull(tree, "commandTree");
System\Data\Mapping\Update\Internal\ExtractorMetadata.cs (4)
45EntityUtil.CheckArgumentNull(entitySetBase, "entitySetBase"); 46m_type = EntityUtil.CheckArgumentNull(type, "type"); 47m_translator = EntityUtil.CheckArgumentNull(translator, "translator"); 167throw EntityUtil.Update(Strings.Update_NullValue(record.GetName(ordinal)), null, stateEntry);
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (5)
206EntityUtil.ValidateNecessaryModificationFunctionMapping(functionMapping, "Insert", stateEntry.Source, "EntityType", entityType.Name); 210EntityUtil.ValidateNecessaryModificationFunctionMapping(functionMapping, "Delete", stateEntry.Source, "EntityType", entityType.Name); 215EntityUtil.ValidateNecessaryModificationFunctionMapping(functionMapping, "Update", stateEntry.Source, "EntityType", entityType.Name); 249throw EntityUtil.Update(Strings.Update_MissingRequiredRelationshipValue(entitySetName, associationSetName), 311EntityUtil.ValidateNecessaryModificationFunctionMapping(
System\Data\Mapping\Update\Internal\FunctionUpdateCommand.cs (6)
40EntityUtil.CheckArgumentNull(functionMapping, "functionMapping"); 41EntityUtil.CheckArgumentNull(translator, "translator"); 42EntityUtil.CheckArgumentNull(stateEntries, "stateEntries"); 185throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Update_GeneratedDependent(columnName)); 310throw EntityUtil.Update(System.Data.Entity.Strings.Update_UnableToConvertRowsAffectedParameterToInt32( 330throw EntityUtil.Update(System.Data.Entity.Strings.Update_MissingResultColumn(columnName), null,
System\Data\Mapping\Update\Internal\Graph.cs (1)
40EntityUtil.CheckArgumentNull(comparer, "comparer");
System\Data\Mapping\Update\Internal\KeyManager.cs (3)
37_translator = EntityUtil.CheckArgumentNull(translator, "translator"); 186throw EntityUtil.Constraint(System.Data.Entity.Strings.Update_ReferentialConstraintIntegrityViolation); 393throw EntityUtil.Update(Strings.Update_CircularRelationships, null, stateEntriesInCycle);
System\Data\Mapping\Update\Internal\Propagator.cs (11)
55EntityUtil.CheckArgumentNull(parent, "parent"); 56EntityUtil.CheckArgumentNull(table, "table"); 125throw EntityUtil.NotSupported(System.Data.Entity.Strings.Update_UnsupportedJoinType(node.ExpressionKind)); 137EntityUtil.CheckArgumentNull(node, "node"); 141throw EntityUtil.NotSupported(System.Data.Entity.Strings.Update_UnsupportedJoinType(node.ExpressionKind)); 177EntityUtil.CheckArgumentNull(node, "node"); 215EntityUtil.CheckArgumentNull(node, "node"); 252EntityUtil.CheckArgumentNull(node, "node"); 260throw EntityUtil.NotSupported(System.Data.Entity.Strings.Update_UnsupportedProjection(node.Projection.ExpressionKind)); 290EntityUtil.CheckArgumentNull(node, "node"); 319EntityUtil.CheckArgumentNull(node, "node");
System\Data\Mapping\Update\Internal\Propagator.Evaluator.cs (11)
64EntityUtil.CheckArgumentNull(row, "row"); 65EntityUtil.CheckArgumentNull(parent, "parent"); 188EntityUtil.CheckArgumentNull(predicate, "predicate"); 217EntityUtil.CheckArgumentNull(predicate, "predicate"); 256EntityUtil.CheckArgumentNull(predicate, "predicate"); 272result = EntityUtil.ThreeValuedAnd(leftResult, rightResult); 284EntityUtil.CheckArgumentNull(predicate, "predicate"); 300result = EntityUtil.ThreeValuedOr(leftResult, rightResult); 324EntityUtil.CheckArgumentNull(predicate, "predicate"); 329bool? result = EntityUtil.ThreeValuedNot(childResult); 504throw EntityUtil.NotSupported(Strings.Update_UnsupportedCastArgument(nodeType.EdmType.Name));
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (5)
34EntityUtil.CheckArgumentNull(parent, "parent"); 114EntityUtil.CheckArgumentNull(extent, "extent"); 130throw EntityUtil.NotSupported(System.Data.Entity.Strings.Update_UnsupportedExtentType( 141EntityUtil.CheckArgumentNull(entitySet, "entitySet"); 200EntityUtil.CheckArgumentNull(member, "member");
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.cs (5)
54EntityUtil.CheckArgumentNull(left, "left"); 55EntityUtil.CheckArgumentNull(right, "right"); 56EntityUtil.CheckArgumentNull(node, "node"); 57EntityUtil.CheckArgumentNull(parent, "parent"); 330throw EntityUtil.Update(Strings.Update_InvalidChanges, null, stateEntries);
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.JoinPredicateVisitor.cs (3)
79EntityUtil.CheckArgumentNull(joinCondition, "joinCondition"); 107EntityUtil.CheckArgumentNull(node, "node"); 122EntityUtil.CheckArgumentNull(node, "node");
System\Data\Mapping\Update\Internal\Propagator.JoinPropagator.SubstitutingCloneVisitor.cs (4)
69EntityUtil.CheckArgumentNull(placeholder, "placeholder"); 70EntityUtil.CheckArgumentNull(key, "key"); 71EntityUtil.CheckArgumentNull(placeholderKey, "placeholderKey"); 72EntityUtil.CheckArgumentNull(translator, "translator");
System\Data\Mapping\Update\Internal\PropagatorResult.cs (14)
143throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.GetSimpleValue"); 153throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.GetMemberValue"); 173throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.GetMembersValues"); 190throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.ReplicateResultWithNewValue"); 213throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "PropagatorResult.Merge"); 429EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "KeyValue.Merge"); 555throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UpdatePipelineResultRequestInvalid, 0, "StructuralValue.ReplicateResultWithNewFlags");
System\Data\Mapping\Update\Internal\RecordConverter.cs (4)
78EntityUtil.CheckArgumentNull(stateEntry, "stateEntry"); 80? EntityUtil.CheckArgumentNull(stateEntry.CurrentValues as IExtendedDataRecord, "stateEntry.CurrentValues") 81: EntityUtil.CheckArgumentNull(stateEntry.OriginalValues as IExtendedDataRecord, "stateEntry.OriginalValues"); 90throw EntityUtil.Update(Strings.Update_ErrorLoadingRecord, e, stateEntry);
System\Data\Mapping\Update\Internal\RelationshipConstraintValidator.cs (13)
70EntityUtil.CheckArgumentNull(stateEntry, "stateEntry"); 78EntityKey entityKey = EntityUtil.CheckArgumentNull(stateEntry.EntityKey, "stateEntry.EntityKey"); 137EntityUtil.CheckArgumentNull(associationSet, "relationshipSet"); 138EntityUtil.CheckArgumentNull(record, "record"); 139EntityUtil.CheckArgumentNull(stateEntry, "stateEntry"); 205throw EntityUtil.UpdateRelationshipCardinalityConstraintViolation( 240throw EntityUtil.Update(Strings.Update_RelationshipCardinalityViolation(maximumCount.Value, 266throw EntityUtil.UpdateEntityMissingConstraintViolation(actualRelationship.AssociationSet.Name, 390ToEntityKey = EntityUtil.CheckArgumentNull(toEntityKey, "toEntityKey"); 391FromEnd = EntityUtil.CheckArgumentNull(fromEnd, "fromEnd"); 392ToEnd = EntityUtil.CheckArgumentNull(toEnd, "toEnd"); 393AssociationSet = EntityUtil.CheckArgumentNull(associationSet, "associationSet"); 394StateEntry = EntityUtil.CheckArgumentNull(stateEntry, "stateEntry");
System\Data\Mapping\Update\Internal\TableChangeProcessor.cs (5)
40EntityUtil.CheckArgumentNull(table, "table"); 167throw EntityUtil.Update(System.Data.Entity.Strings.Update_GeneralExecutionException, 229throw EntityUtil.Update(Strings.Update_DuplicateKeys, null, stateEntries); 260throw EntityUtil.Update(Strings.Update_GeneralExecutionException, 261EntityUtil.Constraint(Strings.Update_ReferentialConstraintIntegrityViolation), commonDependents);
System\Data\Mapping\Update\Internal\UpdateCommandOrderer.cs (2)
158throw EntityUtil.Update(System.Data.Entity.Strings.Update_AmbiguousServerGenIdentifier, duplicateKey, command.GetStateEntries(_translator)); 485_baseComparer = EntityUtil.CheckArgumentNull(baseComparer, "baseComparer");
System\Data\Mapping\Update\Internal\UpdateCompiler.cs (3)
260throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Update_GeneratedDependent(property.Name)); 270throw EntityUtil.NotSupported(System.Data.Entity.Strings.Update_NotSupportedComputedKeyColumn( 307throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Update_ModifyingIdentityColumn(
System\Data\Mapping\Update\Internal\UpdateExpressionVisitor.cs (1)
45return EntityUtil.NotSupported(
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (22)
49EntityUtil.CheckArgumentNull(stateManager, "stateManager"); 50EntityUtil.CheckArgumentNull(metadataWorkspace, "metadataWorkspace"); 51EntityUtil.CheckArgumentNull(connection, "connection"); 287throw EntityUtil.Update(Strings.Update_AmbiguousForeignKey(constraint.ToRole.DeclaringType.FullName), null, stateEntry); 327throw EntityUtil.Update( 407throw EntityUtil.Update(System.Data.Entity.Strings.Update_GeneralExecutionException, e, translator.DetermineStateEntriesFromSource(source)); 455throw EntityUtil.UpdateConcurrency(rowsAffected, null, stateEntries); 534throw EntityUtil.Update(System.Data.Entity.Strings.Update_NullReturnValueForNonNullableMember( 573throw EntityUtil.Update(System.Data.Entity.Strings.Update_ReturnValueHasUnexpectedType( 650throw EntityUtil.Update(System.Data.Entity.Strings.Update_MappingNotFound( 771throw EntityUtil.Update(System.Data.Entity.Strings.Update_ConstraintCycle, null, stateEntries); 797throw EntityUtil.CommandCompilation(System.Data.Entity.Strings.EntityClient_CommandDefinitionPreparationFailed, e); 825if (!EntityUtil.IsCatchableExceptionType(e)) { return false; } 884throw EntityUtil.UpdateMissingEntity(required.Value.Name, TypeHelpers.GetFullName(key.EntityContainerName, key.EntitySetName)); 924EntityUtil.CheckArgumentNull(stateEntry, "stateEntry"); 929throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidStateEntry, 1); 1029throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidStateEntry, 2); 1061throw EntityUtil.Update(System.Data.Entity.Strings.Update_WorkspaceMismatch, null); 1111EntityUtil.CheckArgumentNull(extent, "extent"); 1132EntityUtil.CheckArgumentNull(extent, "extent");
System\Data\Mapping\Update\Internal\ViewLoader.cs (1)
198throw EntityUtil.NotSupported();
System\Data\Mapping\ViewGeneration\GeneratedView.cs (1)
276if (EntityUtil.IsCatchableExceptionType(e))
System\Data\Mapping\ViewGeneration\Structures\Constant.cs (1)
126EntityUtil.CheckArgumentNull(key, "key");
System\Data\Mapping\ViewGeneration\Structures\ErrorLog.cs (1)
58EntityUtil.CheckArgumentNull(record, "record");
System\Data\Mapping\ViewGeneration\Structures\ProjectedSlot.cs (1)
189EntityUtil.CheckArgumentNull(key, "key");
System\Data\Mapping\ViewGeneration\Validation\SchemaConstraints.cs (1)
49EntityUtil.CheckArgumentNull(constraint, "constraint");
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (8)
36EntityUtil.CheckArgumentNull(containerMapping, "containerMapping"); 37EntityUtil.CheckArgumentNull(config, "config"); 63EntityUtil.CheckArgumentNull(containerMapping, "containerMapping"); 64EntityUtil.CheckArgumentNull(config, "config"); 65EntityUtil.CheckArgumentNull(entity, "entity"); 66EntityUtil.CheckArgumentNull(type, "type"); 161EntityUtil.CheckArgumentNull(cells, "cells"); 162EntityUtil.CheckArgumentNull(config, "config");
System\Data\Metadata\AspProxy.cs (15)
53if (EntityUtil.IsCatchableExceptionType(e)) 89if (!EntityUtil.IsCatchableExceptionType(e)) 109throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext); 137throw EntityUtil.InvalidOperation(errMsg); 169throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e); 173throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e); 177throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e); 181throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e); 185throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e); 189throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e); 193throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e); 222throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToFindReflectedType(BUILD_MANAGER_TYPE_NAME, AssemblyRef.SystemWeb)); 248throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e); 252throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e); 256throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.UnableToDetermineApplicationContext, e);
System\Data\Metadata\CacheForPrimitiveTypes.cs (2)
49List<PrimitiveType> primitiveTypes = EntityUtil.CheckArgumentOutOfRange(_primitiveTypeMap, (int)type.PrimitiveTypeKind, "primitiveTypeKind"); 76List<PrimitiveType> primitiveTypes = EntityUtil.CheckArgumentOutOfRange(_primitiveTypeMap, (int)primitiveTypeKind, "primitiveTypeKind");
System\Data\Metadata\ClrPerspective.cs (1)
136throw EntityUtil.InvalidDefaultContainerName("defaultContainerName", defaultContainerName);
System\Data\Metadata\CustomAssemblyResolver.cs (1)
40throw EntityUtil.InvalidOperation(Strings.WildcardEnumeratorReturnedNull);
System\Data\Metadata\Edm\AssociationSetEnd.cs (3)
32_entitySet = EntityUtil.GenericCheckArgumentNull(entitySet, "entitySet"); 33_parentSet = EntityUtil.GenericCheckArgumentNull(parentSet, "parentSet"); 34_endMember = EntityUtil.GenericCheckArgumentNull(endMember, "endMember");
System\Data\Metadata\Edm\CollectionType.cs (1)
39: base(GetIdentity(EntityUtil.GenericCheckArgumentNull(elementType, "elementType")),
System\Data\Metadata\Edm\ComplexType.cs (1)
110: base(EntityUtil.GenericCheckArgumentNull(clrType, "clrType").Name, clrType.Namespace ?? string.Empty,
System\Data\Metadata\Edm\EdmFunction.cs (1)
88throw EntityUtil.CollectionParameterElementIsNull("parameters");
System\Data\Metadata\Edm\EdmMember.cs (2)
30EntityUtil.CheckStringArgument(name, "name"); 31EntityUtil.GenericCheckArgumentNull(memberTypeUsage, "memberTypeUsage");
System\Data\Metadata\Edm\EdmProperty.cs (2)
32EntityUtil.CheckStringArgument(name, "name"); 33EntityUtil.GenericCheckArgumentNull(typeUsage, "typeUsage");
System\Data\Metadata\Edm\EdmType.cs (2)
46EntityUtil.GenericCheckArgumentNull(name, "name"); 47EntityUtil.GenericCheckArgumentNull(namespaceName, "namespaceName");
System\Data\Metadata\Edm\EntityContainer.cs (5)
33EntityUtil.CheckStringArgument(name, "name"); 129throw EntityUtil.InvalidEntitySetName(name); 142EntityUtil.CheckArgumentNull(name, "name"); 167throw EntityUtil.InvalidRelationshipSetName(name); 183EntityUtil.CheckArgumentNull(name, "name");
System\Data\Metadata\Edm\EntitySetBase.cs (3)
49EntityUtil.GenericCheckArgumentNull(entityType, "entityType"); 50EntityUtil.CheckStringArgument(name, "name"); 161EntityUtil.GenericCheckArgumentNull(value, "value");
System\Data\Metadata\Edm\EntitySetBaseCollection.cs (6)
49EntityUtil.GenericCheckArgumentNull(entityContainer, "entityContainer"); 74throw EntityUtil.OperationOnReadOnlyCollection(); 94throw EntityUtil.OperationOnReadOnlyCollection(); 110EntityUtil.GenericCheckArgumentNull(item, "item"); 126EntityUtil.GenericCheckArgumentNull(entitySet, argumentName); 129throw EntityUtil.EntitySetInAnotherContainer(argumentName);
System\Data\Metadata\Edm\EntityType.cs (1)
246: base(EntityUtil.GenericCheckArgumentNull(type, "type").Name, type.Namespace ?? string.Empty,
System\Data\Metadata\Edm\EntityTypeBase.cs (4)
99EntityUtil.GenericCheckArgumentNull(member, "member"); 135throw EntityUtil.CollectionParameterElementIsNull("members"); 161throw EntityUtil.CollectionParameterElementIsNull("keyMembers"); 167throw EntityUtil.Argument(System.Data.Entity.Strings.InvalidKeyMember(keyMember)); //--- to do, identify the right exception to throw here
System\Data\Metadata\Edm\EnumMember.cs (1)
49EntityUtil.CheckStringArgument(name, "name");
System\Data\Metadata\Edm\Facet.cs (2)
35EntityUtil.GenericCheckArgumentNull(facetDescription, "facetDescription"); 63EntityUtil.CheckArgumentNull(facetDescription, "facetDescription");
System\Data\Metadata\Edm\FacetDescription.cs (8)
74EntityUtil.CheckStringArgument(facetName, "facetName"); 75EntityUtil.GenericCheckArgumentNull(facetType, "facetType"); 314throw EntityUtil.MissingDefaultValueForConstantFacet(_facetName, declaringTypeName); 325throw EntityUtil.MinAndMaxValueMustBeSameForConstantFacet(_facetName, declaringTypeName); 332throw EntityUtil.BothMinAndMaxValueMustBeSpecifiedForNonConstantFacet(_facetName, declaringTypeName); 336throw EntityUtil.MinAndMaxValueMustBeDifferentForNonConstantFacet(_facetName, declaringTypeName); 340throw EntityUtil.MinAndMaxMustBePositive(_facetName, declaringTypeName); 344throw EntityUtil.MinMustBeLessThanMax(_minValue.ToString(), _facetName, declaringTypeName);
System\Data\Metadata\Edm\FilteredReadOnlyMetadataCollection.cs (2)
83throw EntityUtil.ItemInvalidIdentity(identity, "identity"); 106throw EntityUtil.ItemInvalidIdentity(identity, "identity");
System\Data\Metadata\Edm\FunctionParameter.cs (2)
35EntityUtil.CheckStringArgument(name, "name"); 36EntityUtil.GenericCheckArgumentNull(typeUsage, "typeUsage");
System\Data\Metadata\Edm\ItemCollection.cs (11)
186throw EntityUtil.ItemInvalidIdentity(identity, "identity"); 277EntityUtil.GenericCheckArgumentNull(name, "name"); 278EntityUtil.GenericCheckArgumentNull(namespaceName, "namespaceName"); 293EntityUtil.GenericCheckArgumentNull(name, "name"); 294EntityUtil.GenericCheckArgumentNull(namespaceName, "namespaceName"); 390EntityUtil.GenericCheckArgumentNull(functionName, "functionName"); 391EntityUtil.GenericCheckArgumentNull(parameterTypes, "parameterTypes"); 411EntityUtil.GenericCheckArgumentNull(name, "name"); 423EntityUtil.GenericCheckArgumentNull(name, "name"); 442throw EntityUtil.ItemInvalidIdentity(name, "name"); 454EntityUtil.GenericCheckArgumentNull(name, "name");
System\Data\Metadata\Edm\LightweightCodeGenerator.cs (12)
388Debug.Assert(null != (Action<Object,Type,String,String>)EntityUtil.ThrowSetInvalidValue, "missing method ThrowSetInvalidValue(object,Type,string,string)"); 389gen.Emit(OpCodes.Call, typeof(EntityUtil).GetMethod("ThrowSetInvalidValue", BindingFlags.Static | BindingFlags.NonPublic, null, new Type[] { typeof(object),typeof(Type),typeof(string),typeof(string)},null)); 521throw EntityUtil.InvalidEnumerationValue(typeof(RelationshipMultiplicity), (int)targetMember.RelationshipMultiplicity); 529throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.CodeGen_ConstructorNoParameterless(type.FullName)); 533throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.CodeGen_PropertyDeclaringTypeIsValueType); 537throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.CodeGen_PropertyUnsupportedForm); 541throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.CodeGen_PropertyUnsupportedType); 545throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.CodeGen_PropertyStrongNameIdentity); 549throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.CodeGen_PropertyIsIndexed); 553throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.CodeGen_PropertyIsStatic); 557throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.CodeGen_PropertyNoGetter); 561throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.CodeGen_PropertyNoSetter);
System\Data\Metadata\Edm\MemberCollection.cs (7)
115throw EntityUtil.OperationOnReadOnlyCollection(); 135throw EntityUtil.OperationOnReadOnlyCollection(); 218throw EntityUtil.ArgumentOutOfRange("arrayIndex"); 225throw EntityUtil.Argument("arrayIndex"); 273throw EntityUtil.ItemInvalidIdentity(identity, "identity"); 328throw EntityUtil.ArgumentOutOfRange("index"); 337EntityUtil.GenericCheckArgumentNull(member, argumentName);
System\Data\Metadata\Edm\MetadataCollection.cs (19)
61throw EntityUtil.CollectionParameterElementIsNull("items"); 152throw EntityUtil.OperationOnReadOnlyCollection(); 172throw EntityUtil.OperationOnReadOnlyCollection(); 191throw EntityUtil.ItemInvalidIdentity(identity, "identity"); 237throw EntityUtil.ItemDuplicateIdentity(identity, "item", null); 252throw EntityUtil.ItemDuplicateIdentity(identity, "item", null); 337throw EntityUtil.ItemDuplicateIdentity(item.Identity, "item", null); 414throw EntityUtil.OperationOnReadOnlyCollection(); 425throw EntityUtil.OperationOnReadOnlyCollection(); 435throw EntityUtil.OperationOnReadOnlyCollection(); 444throw EntityUtil.OperationOnReadOnlyCollection(); 469EntityUtil.CheckStringArgument(identity, "identity"); 504throw EntityUtil.MoreThanOneItemMatchesIdentity(identity); 526throw EntityUtil.MoreThanOneItemMatchesIdentity(identity); 575EntityUtil.GenericCheckArgumentNull(array, "array"); 579throw EntityUtil.ArgumentOutOfRange("arrayIndex"); 584throw EntityUtil.ArrayTooSmall("arrayIndex"); 653int index = IndexOf(_collectionData, EntityUtil.GenericCheckArgumentNull(identity, "identity"), ignoreCase); 668throw EntityUtil.OperationOnReadOnlyCollection();
System\Data\Metadata\Edm\MetadataProperty.cs (2)
33EntityUtil.GenericCheckArgumentNull(typeUsage, "typeUsage"); 50EntityUtil.CheckArgumentNull(edmType, "edmType");
System\Data\Metadata\Edm\MetadataPropertyCollection.cs (1)
40EntityUtil.CheckArgumentNull(item, "item");
System\Data\Metadata\Edm\NavigationProperty.cs (2)
33EntityUtil.CheckStringArgument(name, "name"); 34EntityUtil.GenericCheckArgumentNull(typeUsage, "typeUsage");
System\Data\Metadata\Edm\PrimitiveType.cs (3)
50EntityUtil.GenericCheckArgumentNull(baseType, "baseType"); 51EntityUtil.GenericCheckArgumentNull(providerManifest, "providerManifest"); 69: this(EntityUtil.GenericCheckArgumentNull(clrType, "clrType").Name, clrType.Namespace,
System\Data\Metadata\Edm\ReferentialConstraint.cs (4)
35_fromRole = EntityUtil.GenericCheckArgumentNull(fromRole, "fromRole"); 36_toRole = EntityUtil.GenericCheckArgumentNull(toRole, "toRole"); 38EntityUtil.GenericCheckArgumentNull(fromProperties, "fromProperties"))); 40EntityUtil.GenericCheckArgumentNull(toProperties, "toProperties")));
System\Data\Metadata\Edm\RefType.cs (1)
29: base(GetIdentity(EntityUtil.GenericCheckArgumentNull(entityType, "entityType")),
System\Data\Metadata\Edm\RowType.cs (2)
108EntityUtil.GenericCheckArgumentNull(property, "property"); 175throw EntityUtil.CollectionParameterElementIsNull("properties");
System\Data\Metadata\Edm\StructuralType.cs (1)
105EntityUtil.GenericCheckArgumentNull(member, "member");
System\Data\Metadata\Edm\TypeUsage.cs (22)
34EntityUtil.GenericCheckArgumentNull(edmType, "edmType"); 105EntityUtil.CheckArgumentNull<EdmType>(edmType, "edmType"); 124EntityUtil.CheckArgumentNull<PrimitiveType>(primitiveType, "primitiveType"); 128throw EntityUtil.NotStringTypeForTypeUsage(); 152EntityUtil.CheckArgumentNull<PrimitiveType>(primitiveType, "primitiveType"); 156throw EntityUtil.NotStringTypeForTypeUsage(); 177EntityUtil.CheckArgumentNull<PrimitiveType>(primitiveType, "primitiveType"); 181throw EntityUtil.NotBinaryTypeForTypeUsage(); 201EntityUtil.CheckArgumentNull<PrimitiveType>(primitiveType, "primitiveType"); 205throw EntityUtil.NotBinaryTypeForTypeUsage(); 223EntityUtil.CheckArgumentNull<PrimitiveType>(primitiveType, "primitiveType"); 227throw EntityUtil.NotDateTimeTypeForTypeUsage(); 244EntityUtil.CheckArgumentNull<PrimitiveType>(primitiveType, "primitiveType"); 248throw EntityUtil.NotDateTimeOffsetTypeForTypeUsage(); 266EntityUtil.CheckArgumentNull<PrimitiveType>(primitiveType, "primitiveType"); 270throw EntityUtil.NotTimeTypeForTypeUsage(); 291EntityUtil.CheckArgumentNull<PrimitiveType>(primitiveType, "primitiveType"); 295throw EntityUtil.NotDecimalTypeForTypeUsage(); 311EntityUtil.CheckArgumentNull<PrimitiveType>(primitiveType, "primitiveType"); 315throw EntityUtil.NotDecimalTypeForTypeUsage(); 441throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.Mapping_ProviderReturnsNullType(this.ToString())); 643throw EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.InvalidMaxLengthSize, "maxLength");
System\Data\Metadata\Edm\util.cs (2)
34throw EntityUtil.OperationOnReadOnlyItem(); 47EntityUtil.GenericCheckArgumentNull(item, argumentName);
System\Data\Metadata\EdmError.cs (1)
36EntityUtil.CheckStringArgument(message, "message");
System\Data\Metadata\EdmItemCollection.cs (10)
53EntityUtil.CheckArgumentNull(xmlReaders, "xmlReaders"); 54EntityUtil.CheckArgumentContainsNull(ref xmlReaders, "xmlReaders"); 92EntityUtil.CheckArgumentNull(xmlReaders, "xmlReaders"); 93EntityUtil.CheckArgumentContainsNull(ref xmlReaders, "xmlReaders"); 116EntityUtil.CheckArgumentNull(filePaths, "filePaths"); 160EntityUtil.CheckArgumentNull(xmlReaders, "xmlReaders"); 296throw EntityUtil.InvalidSchemaEncountered(Helper.CombineErrorMessage(errorCollection)); 395throw EntityUtil.InvalidEDMVersion(edmVersion); 459throw EntityUtil.FunctionHasNoDefinition(function); 474throw EntityUtil.FunctionDefinitionResultTypeMismatch(function, generatedDefinition.Body.ResultType);
System\Data\Metadata\EdmValidator.cs (2)
97EntityUtil.CheckArgumentNull(items, "items"); 98EntityUtil.CheckArgumentNull(items, "ospaceErrors");
System\Data\Metadata\MetadataArtifactLoader.cs (9)
115throw EntityUtil.Metadata(Strings.InvalidMetadataPath); 123throw EntityUtil.Metadata(Strings.InvalidMetadataPath); 175throw EntityUtil.Metadata(System.Data.Entity.Strings.NotValidInputPath, 176EntityUtil.CollectionParameterElementIsNullOrEmpty("filePaths")); 209throw EntityUtil.CollectionParameterElementIsNull("xmlReaders"); 231throw EntityUtil.Metadata(Strings.InvalidFileExtension(path, extension, validExtension)); 484throw EntityUtil.Metadata(System.Data.Entity.Strings.NotValidInputPath, e); 488throw EntityUtil.Metadata(System.Data.Entity.Strings.NotValidInputPath, e); 492throw EntityUtil.Metadata(System.Data.Entity.Strings.NotValidInputPath);
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (4)
185throw EntityUtil.Metadata(System.Data.Entity.Strings.UnableToLoadResource); 224throw EntityUtil.Metadata(System.Data.Entity.Strings.UnableToLoadResource); 338throw EntityUtil.Metadata(Strings.InvalidMetadataPath); 366throw EntityUtil.Metadata(Strings.InvalidMetadataPath);
System\Data\Metadata\MetadataArtifactLoaderResource.cs (1)
203throw EntityUtil.Metadata(System.Data.Entity.Strings.UnableToLoadResource);
System\Data\Metadata\MetadataCache.cs (1)
857throw EntityUtil.Metadata(Strings.AtleastOneSSDLNeeded);
System\Data\Metadata\MetadataWorkspace.cs (35)
57EntityUtil.CheckArgumentNull(paths, "paths"); 58EntityUtil.CheckArgumentContainsNull(ref paths, "paths"); 60EntityUtil.CheckArgumentNull(assembliesToConsider, "assembliesToConsider"); 61EntityUtil.CheckArgumentContainsNull(ref assembliesToConsider, "assembliesToConsider"); 72throw EntityUtil.Argument(Strings.AssemblyMissingFromAssembliesToConsider(referenceName.FullName), "assembliesToConsider"); 195EntityUtil.CheckArgumentNull(collection, "collection"); 209throw EntityUtil.InvalidOperation( 252throw EntityUtil.InvalidCollectionForMapping(collection.DataSpace); 256throw EntityUtil.ItemCollectionAlreadyRegistered(collection.DataSpace); 264throw EntityUtil.InvalidCollectionSpecified(collection.DataSpace); 272throw EntityUtil.InvalidCollectionSpecified(collection.DataSpace); 280throw EntityUtil.InvalidCollectionSpecified(collection.DataSpace); 285throw EntityUtil.InvalidCollectionSpecified(collection.DataSpace); 322throw EntityUtil.DifferentSchemaVersionInCollection(itemCollectionType, versionToRegister, this._schemaVersion); 362EntityUtil.CheckArgumentNull(assembly, "assembly"); 654EntityUtil.GenericCheckArgumentNull(name, "name"); 690EntityUtil.GenericCheckArgumentNull(name, "name"); 734EntityUtil.CheckStringArgument(name, "name"); 735EntityUtil.CheckStringArgument(namespaceName, "namespaceName"); 762EntityUtil.GenericCheckArgumentNull(name, "name"); 763EntityUtil.GenericCheckArgumentNull(namespaceName, "namespaceName"); 929throw EntityUtil.NoCollectionForSpace(dataSpace); 1008throw EntityUtil.Argument(Strings.FailedToFindOSpaceTypeMapping(edmSpaceType.Identity)); 1031EntityUtil.CheckArgumentNull(edmSpaceType, "edmSpaceType"); 1035throw EntityUtil.Argument(Strings.ArgumentMustBeCSpaceType, "edmSpaceType"); 1125throw EntityUtil.Argument(Strings.FailedToFindCSpaceTypeMapping(objectSpaceType.Identity)); 1147EntityUtil.CheckArgumentNull(objectSpaceType, "objectSpaceType"); 1151throw EntityUtil.Argument(Strings.ArgumentMustBeOSpaceType, "objectSpaceType"); 1260EntityUtil.CheckArgumentNull(edmSpaceTypeUsage, "edmSpaceTypeUsage"); 1431EntityUtil.CheckArgumentNull<EntitySetBase>(entitySet, "entitySet"); 1432EntityUtil.CheckArgumentNull<EntityTypeBase>(entityType, "entityType"); 1442throw EntityUtil.AssociationSetNotInCSpace(entitySet.Name); 1446throw EntityUtil.EntitySetNotInCSpace(entitySet.Name); 1456throw EntityUtil.TypeNotInAssociationSet(entitySet.Name, entitySet.ElementType.FullName, entityType.FullName); 1460throw EntityUtil.TypeNotInEntitySet(entitySet.Name, entitySet.ElementType.FullName, entityType.FullName);
System\Data\Metadata\ModelPerspective.cs (1)
42EntityUtil.CheckStringArgument(fullName, "fullName");
System\Data\Metadata\ObjectItemCollection.cs (10)
138EntityUtil.CheckArgumentNull(assembly, "assembly"); 139EntityUtil.CheckArgumentNull(edmItemCollection, "edmItemCollection"); 140EntityUtil.CheckArgumentNull(logLoadMessage, "logLoadMessage"); 148EntityUtil.CheckArgumentNull(assembly, "assembly"); 149EntityUtil.CheckArgumentNull(edmItemCollection, "edmItemCollection"); 251throw EntityUtil.InvalidSchemaEncountered(Helper.CombineErrorMessage(errors)); 353throw EntityUtil.InvalidSchemaEncountered(Helper.CombineErrorMessage(errors)); 504throw EntityUtil.Argument(Strings.FailedToFindClrTypeMapping(objectSpaceType.Identity)); 523EntityUtil.CheckArgumentNull(objectSpaceType, "objectSpaceType"); 527throw EntityUtil.Argument(Strings.ArgumentMustBeOSpaceType, "objectSpaceType");
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (2)
168foreach (Type type in EntityUtil.GetTypesSpecial(SourceAssembly)) 724EntityUtil.IsAnICollection(type) || // EntityCollection<>, List<>, ICollection<>
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (2)
37foreach (Type type in EntityUtil.GetTypesSpecial(SourceAssembly)) 466EntityUtil.IsAnICollection(type) || // EntityCollection<>, List<>, ICollection<>
System\Data\Metadata\Perspective.cs (7)
31EntityUtil.CheckArgumentNull(metadataWorkspace, "metadataWorkspace"); 58EntityUtil.CheckArgumentNull(type, "type"); 59EntityUtil.CheckStringArgument(memberName, "memberName"); 65EntityUtil.CheckArgumentNull(type, "type"); 66EntityUtil.CheckStringArgument(memberName, "memberName"); 147EntityUtil.CheckStringArgument(namespaceName, "namespaceName"); 148EntityUtil.CheckStringArgument(functionName, "functionName");
System\Data\Metadata\StoreItemCollection.cs (11)
83EntityUtil.CheckArgumentNull(xmlReaders, "xmlReaders"); 84EntityUtil.CheckArgumentContainsNull(ref xmlReaders, "xmlReaders"); 85EntityUtil.CheckArgumentEmpty(ref xmlReaders, Strings.StoreItemCollectionMustHaveOneArtifact, "xmlReader"); 107EntityUtil.CheckArgumentNull(filePaths, "filePaths"); 108EntityUtil.CheckArgumentEmpty(ref xmlReaders, Strings.StoreItemCollectionMustHaveOneArtifact, "xmlReader"); 125EntityUtil.CheckArgumentNull(xmlReaders, "xmlReaders"); 126EntityUtil.CheckArgumentEmpty(ref xmlReaders, Strings.StoreItemCollectionMustHaveOneArtifact, "xmlReader"); 151EntityUtil.CheckArgumentNull(filePaths, "filePaths"); 153EntityUtil.CheckArgumentEmpty(ref enumerableFilePaths, Strings.StoreItemCollectionMustHaveOneArtifact, "filePaths"); 165EntityUtil.CheckArgumentEmpty(ref ieReaders, Strings.StoreItemCollectionMustHaveOneArtifact, "filePaths"); 193EntityUtil.CheckArgumentNull(xmlReaders, "xmlReaders");
System\Data\Metadata\StoreItemCollection.Loader.cs (2)
97throw EntityUtil.InvalidSchemaEncountered(Helper.CombineErrorMessage(_errors)); 155throw EntityUtil.NotSupported(Strings.OnlyStoreConnectionsSupported);
System\Data\Metadata\TargetPerspective.cs (1)
49EntityUtil.CheckStringArgument(fullName, "fullName");
System\Data\Metadata\TypeHelpers.cs (4)
412throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_EntityTypeNullKeyMembersInvalid, "entityType"); 425throw EntityUtil.Argument(System.Data.Entity.Strings.Cqt_Metadata_EntityTypeEmptyKeyMembersInvalid, "entityType"); 703throw EntityUtil.InvalidDataType(TypeCode.Empty); 764throw EntityUtil.UnknownDataTypeCode(clrType, Type.GetTypeCode(clrType));
System\Data\Objects\CompiledQuery.cs (17)
40EntityUtil.CheckArgumentNull(query, "query"); 378EntityUtil.CheckArgumentNull(arg0, "arg0"); 390EntityUtil.CheckArgumentNull(arg0, "arg0"); 402EntityUtil.CheckArgumentNull(arg0, "arg0"); 414EntityUtil.CheckArgumentNull(arg0, "arg0"); 426EntityUtil.CheckArgumentNull(arg0, "arg0"); 438EntityUtil.CheckArgumentNull(arg0, "arg0"); 450EntityUtil.CheckArgumentNull(arg0, "arg0"); 462EntityUtil.CheckArgumentNull(arg0, "arg0"); 474EntityUtil.CheckArgumentNull(arg0, "arg0"); 486EntityUtil.CheckArgumentNull(arg0, "arg0"); 498EntityUtil.CheckArgumentNull(arg0, "arg0"); 510EntityUtil.CheckArgumentNull(arg0, "arg0"); 522EntityUtil.CheckArgumentNull(arg0, "arg0"); 534EntityUtil.CheckArgumentNull(arg0, "arg0"); 546EntityUtil.CheckArgumentNull(arg0, "arg0"); 558EntityUtil.CheckArgumentNull(arg0, "arg0");
System\Data\Objects\DataClasses\ComplexObject.cs (3)
47throw EntityUtil.ComplexObjectAlreadyAttachedToParent(); 79EntityUtil.CheckStringArgument(property, "property"); 95EntityUtil.CheckStringArgument(property, "property");
System\Data\Objects\DataClasses\EntityCollection.cs (7)
249EntityUtil.CheckArgumentNull(entities, "entities"); 274EntityUtil.CheckArgumentNull(entity, "entity"); 320EntityUtil.CheckArgumentNull(entity, "entity"); 334throw EntityUtil.UnableToAddToDisconnectedRelatedEnd(); 355throw EntityUtil.UnableToRemoveFromDisconnectedRelatedEnd(); 375EntityUtil.CheckArgumentNull(entity, "entity"); 518throw EntityUtil.InvalidContainedTypeCollection(wrappedEntity.Entity.GetType().FullName, typeof(TEntity).FullName);
System\Data\Objects\DataClasses\EntityObject.cs (3)
141throw EntityUtil.EntityCantHaveMultipleChangeTrackers(); 185EntityUtil.CheckStringArgument(property, "property"); 207EntityUtil.CheckStringArgument(property, "property");
System\Data\Objects\DataClasses\EntityReference.cs (3)
182throw EntityUtil.CannotSetSpecialKeys(); 313throw EntityUtil.CannotChangeReferentialConstraintProperty(); 435throw EntityUtil.CannotChangeReferentialConstraintProperty();
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (13)
188throw EntityUtil.LessThanExpectedRelatedEntitiesFound(); 195EntityUtil.CheckEntityKeyNull(sourceKey); 210throw EntityUtil.MoreThanExpectedRelatedEntitiesFound(); 253EntityUtil.CheckArgumentNull(entity, "entity"); 310throw EntityUtil.EntityConflictsWithKeyEntry(); 324throw EntityUtil.UnableToAddRelationshipWithDeletedEntity(); 334throw EntityUtil.EntityConflictsWithKeyEntry(); 363EntityUtil.CheckEntityKeyNull(ownerKey); 526throw EntityUtil.InvalidContainedTypeReference(wrappedEntity.Entity.GetType().FullName, typeof(TEntity).FullName); 613throw EntityUtil.CircularRelationshipsWithReferentialConstraints(); 651throw EntityUtil.CannotAddMoreThanOneEntityToEntityReference(this.RelationshipNavigation.To, this.RelationshipNavigation.RelationshipName); 725throw EntityUtil.CannotAddMoreThanOneEntityToEntityReference( 774throw EntityUtil.CannotAddMoreThanOneEntityToEntityReference(this.RelationshipNavigation.To, this.RelationshipNavigation.RelationshipName);
System\Data\Objects\DataClasses\RelatedEnd.cs (48)
47EntityUtil.CheckArgumentNull(wrappedOwner, "wrappedOwner"); 48EntityUtil.CheckArgumentNull(wrappedOwner.Entity, "wrappedOwner.Entity"); 49EntityUtil.CheckArgumentNull(navigation, "navigation"); 50EntityUtil.CheckArgumentNull(relationshipFixer, "fixer"); 233throw EntityUtil.NotSupported(); 346throw EntityUtil.InvalidEntityStateSource(); 360throw EntityUtil.InvalidEntityStateSource(); 385EntityUtil.CheckEntityKeyNull(key); // Might be null because of faulty IPOCO implementation 671throw EntityUtil.RelatedEndNotAttachedToContext(relatedEndName); 678throw EntityUtil.InvalidEntityStateLoad(relatedEndName); 686throw EntityUtil.MismatchedMergeOptionOnLoad(mergeOption); 693throw EntityUtil.LoadCalledOnAlreadyLoadedNoTrackedRelatedEnd(); 698throw EntityUtil.LoadCalledOnNonEmptyNoTrackedRelatedEnd(); 798EntityUtil.CheckEntityKeyNull(sourceKey); 836EntityUtil.CheckArgumentNull(entity, "entity"); 872throw EntityUtil.InconsistentReferentialConstraintProperties(); 886throw EntityUtil.InconsistentReferentialConstraintProperties(); 905throw EntityUtil.InvalidOwnerStateForAttach(); 913throw EntityUtil.InvalidOwnerStateForAttach(); 924throw EntityUtil.InvalidNthElementNullForAttach(index); 928throw EntityUtil.ArgumentNull("wrappedEntity"); 944throw EntityUtil.InvalidNthElementContextForAttach(index); 948throw EntityUtil.InvalidEntityContextForAttach(); 961throw EntityUtil.InvalidNthElementStateForAttach(index); 965throw EntityUtil.InvalidEntityStateForAttach(); 996EntityUtil.CheckArgumentNull(entity, "entity"); 1040EntityUtil.CheckArgumentNull(entity, "entity"); 1109throw EntityUtil.EntitySetIsNotValidForRelationship(set.EntityContainer.Name, set.Name, _navigation.To, _relationshipSet.EntityContainer.Name, _relationshipSet.Name); 1119throw EntityUtil.UnableToAddRelationshipWithDeletedEntity(); 1153throw EntityUtil.CannotCreateRelationshipBetweenTrackedAndNoTrackedEntities(UsingNoTracking ? 1170throw EntityUtil.CannotCreateRelationshipEntitiesInDifferentContexts(); 1581throw EntityUtil.UnableToAddRelationshipWithDeletedEntity(); 1654throw EntityUtil.CannotCreateRelationshipBetweenTrackedAndNoTrackedEntities(_navigation.To); 1657throw EntityUtil.EntityKeyValueMismatch(); 1899EntityUtil.ValidateEntitySetInKey(principalKey, principalEntitySet); 2126throw EntityUtil.EntityKeyValueMismatch(); 2156EntityUtil.CheckEntityKeyNull(ownerKey); 2157EntityUtil.CheckEntityKeyNull(entityKey); 2300EntityUtil.CheckEntityKeyNull(ownerKey); 2313EntityUtil.CheckArgumentNull(context, "context"); 2314EntityUtil.CheckArgumentMergeOption(mergeOption); 2315EntityUtil.CheckArgumentNull(entitySet, "entitySet"); 2352throw EntityUtil.EntitySetIsNotValidForRelationship(entitySet.EntityContainer.Name, entitySet.Name, _navigation.From, ((AssociationSet)set).EntityContainer.Name, ((AssociationSet)set).Name); 2355throw EntityUtil.NoRelationshipSetMatched(_navigation.RelationshipName); 2380throw EntityUtil.RelatedEndNotFound(); 2395throw EntityUtil.CannotSetSpecialKeys(); 2427throw EntityUtil.NoRelationshipSetMatched(_navigation.RelationshipName); 2499throw EntityUtil.OwnerIsNull();
System\Data\Objects\DataClasses\RelationshipManager.cs (30)
145EntityUtil.CheckArgumentNull(owner, "owner"); 175throw EntityUtil.InvalidRelationshipManagerOwner(); 323throw EntityUtil.CannotRemergeCollections(); 409EntityUtil.CheckArgumentNull(relationshipName, "relationshipName"); 410EntityUtil.CheckArgumentNull(targetRoleName, "targetRoleName"); 478throw EntityUtil.InvalidTargetRole(relationshipName, targetRoleName, "targetRoleName"); 500throw EntityUtil.OwnerIsNotSourceType(wrappedOwner.IdentityType.FullName, sourceType.FullName, sourceEnd.Name, relationshipName); 525EntityUtil.CheckArgumentNull(relationshipName, "relationshipName"); 526EntityUtil.CheckArgumentNull(targetRoleName, "targetRoleName"); 527EntityUtil.CheckArgumentNull(entityReference, "entityReference"); 531throw EntityUtil.ReferenceAlreadyInitialized(); 537throw EntityUtil.RelationshipManagerAttached(); 561throw EntityUtil.ExpectedReferenceGotCollection(typeof(TTargetEntity).Name, targetRoleName, relationshipName); 579EntityUtil.CheckArgumentNull(relationshipName, "relationshipName"); 580EntityUtil.CheckArgumentNull(targetRoleName, "targetRoleName"); 581EntityUtil.CheckArgumentNull(entityCollection, "entityCollection"); 585throw EntityUtil.CollectionAlreadyInitialized(); 591throw EntityUtil.CollectionRelationshipManagerAttached(); 602throw EntityUtil.ExpectedCollectionGotReference(typeof(TTargetEntity).Name, targetRoleName, relationshipName); 617EntityUtil.CheckArgumentNull(relationshipName, "relationshipName"); 727ArgumentException argException = EntityUtil.UnableToFindRelationshipTypeInMetadata(relationshipName, "relationshipName"); 730return EntityUtil.ProxyMetadataIsUnavailable(wrappedOwner.IdentityType, argException); 839throw EntityUtil.NoRelationshipSetMatched(relationship.FullName); 868throw EntityUtil.ExpectedCollectionGotReference(typeof(TTargetEntity).Name, targetRoleName, relationshipName); 887throw EntityUtil.ExpectedReferenceGotCollection(typeof(TTargetEntity).Name, targetRoleName, relationshipName); 965throw EntityUtil.InvalidEnumerationValue(typeof(RelationshipMultiplicity), (int)targetRoleMultiplicity); 1278throw EntityUtil.UnableToRetrieveReferentialConstraintProperties(); 1379throw EntityUtil.InconsistentReferentialConstraintProperties(); 1439EntityUtil.CheckEntityKeyNull(ownerKey); 1444EntityUtil.CheckContextNull(wrappedOwner.Context);
System\Data\Objects\DataClasses\RelationshipNavigation.cs (3)
46EntityUtil.CheckStringArgument(relationshipName, "relationshipName"); 47EntityUtil.CheckStringArgument(from, "from"); 48EntityUtil.CheckStringArgument(to, "to");
System\Data\Objects\DataClasses\StructuralObject.cs (8)
142EntityUtil.CheckStringArgument(property, "property"); 161EntityUtil.CheckStringArgument(property, "property"); 307EntityUtil.ThrowPropertyIsNotNullable(propertyName); 1451EntityUtil.ThrowPropertyIsNotNullable(propertyName); 1496EntityUtil.ThrowPropertyIsNotNullable(propertyName); 1541EntityUtil.ThrowPropertyIsNotNullable(propertyName); 1589throw EntityUtil.NullableComplexTypesNotSupported(property); 1616EntityUtil.ThrowPropertyIsNotNullable(propertyName);
System\Data\Objects\ELinq\BindingContext.cs (2)
99EntityUtil.CheckArgumentNull(linqExpression, "linqExpression"); 100EntityUtil.CheckArgumentNull(cqtExpression, "cqtExpression");
System\Data\Objects\ELinq\CompiledELinqQueryState.cs (1)
44EntityUtil.CheckArgumentNull(parameterValues, "parameterValues");
System\Data\Objects\ELinq\ELinqQueryState.cs (2)
58EntityUtil.CheckArgumentNull(expression, "expression"); 75EntityUtil.CheckArgumentNull(expression, "expression");
System\Data\Objects\ELinq\ExpressionConverter.cs (25)
120EntityUtil.CheckArgumentNull(funcletizer, "funcletizer"); 121EntityUtil.CheckArgumentNull(expression, "expression"); 296throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedHeterogeneousInitializers( 559throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedCast(DescribeClrType(fromClrType), DescribeClrType(toClrType))); 579throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedCastToDecimal); 637throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedIsOrAs(operationType, 654throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedDifferentContexts); 895throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnexpectedLinqLambdaExpressionFormat); 920throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnknownLinqNodeType, -1, 953throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedNominalType( 961throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedEnumerableType( 1008throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedType(linqType)); 1098throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedComparison(DescribeClrType(clrType))); 1109throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedRowComparison(memberPathDescription.ToString())); 1193throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedRefComparison(leftRefType.ElementType.FullName, rightRefType.ElementType.FullName)); 1426throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.ProviderEscapeLikeArgumentReturnedNull); 1532throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnresolvableFunctionForMethod(methodInfo, methodInfo.DeclaringType)); 1539throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnresolvableFunctionForMember(memberInfo, memberInfo.DeclaringType)); 1541throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnresolvableFunctionForExpression(Expression.NodeType)); 1555throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnresolvableFunctionForMethodAmbiguousMatch(methodInfo, methodInfo.DeclaringType)); 1559throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnresolvableFunctionForMethodNotFound(methodInfo, methodInfo.DeclaringType)); 1567throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnresolvableStoreFunctionForMember(memberInfo, memberInfo.DeclaringType)); 1569throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnresolvableStoreFunctionForExpression(Expression.NodeType));
System\Data\Objects\ELinq\ExpressionVisitorHelpers.cs (2)
23return EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnhandledExpressionType(expressionType)); 28return EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnhandledBindingType(memberBindingType));
System\Data\Objects\ELinq\Funcletizer.cs (18)
68EntityUtil.CheckArgumentNull(rootContext, "rootContext"); 69EntityUtil.CheckArgumentNull(rootContextParameter, "rootContextParameter"); 70EntityUtil.CheckArgumentNull(compiledQueryParameters, "compiledQueryParameters"); 82EntityUtil.CheckArgumentNull(rootContext, "rootContext"); 113EntityUtil.CheckArgumentNull(expression, "expression"); 178EntityUtil.CheckArgumentNull(localCriterion, "localCriterion"); 290EntityUtil.CheckArgumentNull(type, "type"); 333EntityUtil.CheckArgumentNull(funcletizer, "funcletizer"); 334EntityUtil.CheckArgumentNull(isClientConstant, "isClientConstant"); 335EntityUtil.CheckArgumentNull(isClientVariable, "isClientVariable"); 361throw EntityUtil.InvalidOperation(Strings.ELinq_CycleDetected); 420return EntityUtil.NotSupported(Strings.CompiledELinq_UnsupportedParameterTypes(expression.Type.FullName)); 429return EntityUtil.NotSupported(Strings.CompiledELinq_UnsupportedNamedParameterType(parameterExp.Name, parameterExp.Type.FullName)); 434return EntityUtil.NotSupported(Strings.CompiledELinq_UnsupportedNamedParameterUseAsType(parameterExp.Name, expression.Type.FullName)); 552EntityUtil.CheckArgumentNull(inlineQuery, "inlineQuery"); 565throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedDifferentContexts); 611EntityUtil.CheckArgumentNull(parameterReference, "parameterReference"); 612EntityUtil.CheckArgumentNull(funcletizedExpression, "funcletizedExpression");
System\Data\Objects\ELinq\InitializerFacet.cs (2)
527if (!EntityUtil.TryGetICollectionElementType(ClrType, out elementType)) 529throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ELinq_UnexpectedTypeForNavigationProperty(
System\Data\Objects\ELinq\MethodCallTranslator.cs (28)
453throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedInclude); 480throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedMergeAs); 484EntityUtil.CheckArgumentMergeOption(mergeAsOption); 526throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedMethodSuggestedAlternative(call.Method, suggestedMethodInfo)); 529throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedMethod(call.Method)); 614throw EntityUtil.NotSupported(System.Data.Entity.Strings.CannotCallNoncomposableFunction(function.FullName)); 738throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 743throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 753throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 761throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 774throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 783throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributedFunctionWithWrongReturnType(call.Method, call.Method.DeclaringType)); 807throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionAttributeParameterNameNotValid(call.Method, call.Method.DeclaringType, parameterName)); 907throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedAsUnicodeAndAsNonUnicode(call.Method)); 1164throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedStringRemoveCase(call.Method, call.Method.GetParameters()[1].Name)); 1329throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedTrimStartTrimEndCase(call.Method)); 1504throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedVBDatePartNonConstantInterval(call.Method, call.Method.GetParameters()[0].Name)); 1510throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedVBDatePartInvalidInterval(call.Method, call.Method.GetParameters()[0].Name, intervalValue)); 1609throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedKeySelector(call.Method.Name)); 2053throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedPassthrough( 2073throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_InvalidOfTypeResult(DescribeClrType(clrType))); 2352throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedNestedFirst); 2369throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedNestedSingle); 2444throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedNestedFirst); 2461throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedNestedSingle); 2756throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedKeySelector(call.Method.Name)); 2877throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedKeySelector(call.Method.Name)); 3018throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ELinq_ThenByDoesNotFollowOrderBy);
System\Data\Objects\ELinq\ObjectQueryProvider.cs (6)
65EntityUtil.CheckArgumentNull(expression, "expression"); 68throw EntityUtil.Argument(System.Data.Entity.Strings.ELinq_ExpressionMustBeIQueryable, "expression"); 87EntityUtil.CheckArgumentNull(expression, "expression"); 102EntityUtil.CheckArgumentNull(expression, "expression"); 105throw EntityUtil.Argument(System.Data.Entity.Strings.ELinq_ExpressionMustBeIQueryable, "expression"); 126EntityUtil.CheckArgumentNull(expression, "expression");
System\Data\Objects\ELinq\OrderByLifter.cs (3)
251throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnexpectedLinqLambdaExpressionFormat); 804throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_SkipWithoutOrder);
System\Data\Objects\ELinq\ReflectionUtil.cs (1)
429EntityUtil.CheckArgumentNull(method, "method");
System\Data\Objects\ELinq\Translator.cs (13)
68throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ELinq_UnsupportedUseOfContextParameter( 121throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedNullConstant(DescribeClrType(linq.Type))); 125throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedConstant(DescribeClrType(linq.Type))); 191throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnrecognizedMember(linq.Member.Name)); 701throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ELinq_UnboundParameterExpression(linq.Name)); 716throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedConstructor); 785throw EntityUtil.NotSupported(Strings.ELinq_UnsupportedType(DescribeClrType(linq.Type))); 798throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedConstructor); 803throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedInitializers); 819throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedConstructor); 834throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedBinding); 889throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedExpressionType(linq.NodeType)); 903throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_UnsupportedExpressionType(linq.NodeType));
System\Data\Objects\ELinq\TypeSystem.cs (3)
49EntityUtil.CheckArgumentNull(returnType, "returnType"); 125throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_PropertyIndexNotSupported); 148throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_NotPropertyOrField(member.Name));
System\Data\Objects\EntityEntry.cs (58)
237EntityUtil.CheckArgumentNull(propertyName, "propertyName"); 244throw EntityUtil.CannotModifyKeyEntryState(); 250throw EntityUtil.InvalidModifiedPropertyName(propertyName); 256throw EntityUtil.SetModifiedStates(methodName); 338throw EntityUtil.OriginalValuesDoesNotExist(); 343throw EntityUtil.CannotAccessKeyEntryValues(); 394throw EntityUtil.CurrentValuesDoesNotExist(); 399throw EntityUtil.CannotAccessKeyEntryValues(); 498throw EntityUtil.CannotModifyKeyEntryState(); 509throw EntityUtil.SetModifiedStates("SetModified"); 542EntityUtil.CheckValidStateForChangeEntityState(state); 570EntityUtil.CheckArgumentNull(currentEntity, "currentEntity"); 576throw EntityUtil.CannotAccessKeyEntryValues(); 590EntityUtil.CheckArgumentNull(originalEntity, "originalEntity"); 596throw EntityUtil.CannotAccessKeyEntryValues(); 983throw EntityUtil.CannotAccessKeyEntryValues(); 998throw EntityUtil.CannotAccessKeyEntryValues(); 1014throw EntityUtil.CannotAccessKeyEntryValues(); 1016EntityUtil.CheckArgumentNull(complexObjectMemberName, "complexObjectMemberName"); 1017EntityUtil.CheckArgumentNull(complexObject, "complexObject"); 1032throw EntityUtil.CannotAccessKeyEntryValues(); 1034EntityUtil.CheckArgumentNull(complexObjectMemberName, "complexObjectMemberName"); 1035EntityUtil.CheckArgumentNull(complexObject, "complexObject"); 1085throw EntityUtil.EntityValueChangedWithoutEntityValueChanging(); 1093throw EntityUtil.ChangedInDifferentStateFromChanging(this.State, _cache.ChangingState); 1199throw EntityUtil.OriginalValuesDoesNotExist(); 1219throw EntityUtil.NullableComplexTypesNotSupported(memberMetadata.CLayerName); 1444throw EntityUtil.NullableComplexTypesNotSupported(memberMetadata.CLayerName); 1537EntityUtil.CheckArgumentNull(entityMemberName, "entityMemberName"); 1550throw EntityUtil.CantSetEntityKey(); 1569throw EntityUtil.ChangeOnUnmappedProperty(entityMemberName); 1584throw EntityUtil.ComplexChangeRequestedOnScalarProperty(entityMemberName); 1591throw EntityUtil.ChangeOnUnmappedComplexProperty(complexObjectMemberName); 1883throw EntityUtil.CannotModifyKeyProperty(member.CLayerName); 1933throw EntityUtil.NullableComplexTypesNotSupported(complexMember.CLayerName); 2192throw EntityUtil.UnableToAddRelationshipWithDeletedEntity(); 2215throw EntityUtil.InconsistentReferentialConstraintProperties(); 2393throw EntityUtil.CannotAddMoreThanOneEntityToEntityReference( 2480throw EntityUtil.CannotCallDeleteOnKeyEntry(); 2769throw EntityUtil.InconsistentReferentialConstraintProperties(); 2819throw EntityUtil.InconsistentReferentialConstraintProperties(); 2966throw EntityUtil.CannotModifyKeyProperty(member.CLayerName); 2987throw EntityUtil.CantModifyDetachedDeletedEntries(); 2998throw EntityUtil.CannotModifyKeyProperty(memberName); 3020throw EntityUtil.NullableComplexTypesNotSupported(member.CLayerName); 3026throw EntityUtil.InvalidTypeForComplexTypeProperty("value"); 3072throw EntityUtil.CannotModifyKeyEntryState(); 3108throw EntityUtil.InvalidEntityStateArgument("state"); 3141throw EntityUtil.InvalidEntityStateArgument("state"); 3175throw EntityUtil.InvalidEntityStateArgument("state"); 3230throw EntityUtil.InvalidEntityStateArgument("state"); 3297throw EntityUtil.NullableComplexTypesNotSupported(field.FieldType.Name); 3349throw EntityUtil.EntityMustBeUnchangedOrModified(this.State); 3354throw EntityUtil.EntitiesHaveDifferentType(this.Entity.GetType().FullName, wrappedCurrentEntity.Entity.GetType().FullName); 3377throw EntityUtil.EntityMustBeUnchangedOrModifiedOrDeleted(this.State); 3382throw EntityUtil.EntitiesHaveDifferentType(this.Entity.GetType().FullName, wrappedOriginalEntity.Entity.GetType().FullName); 3637throw EntityUtil.CannotAddMoreThanOneEntityToEntityReference( 3722throw EntityUtil.CircularRelationshipsWithReferentialConstraints();
System\Data\Objects\EntityFunctions.cs (91)
42throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 56throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 70throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 84throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 98throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 112throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 126throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 140throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 154throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 168throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 182throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 196throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 210throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 224throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 238throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 252throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 266throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 280throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 294throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 308throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 322throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 336throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 350throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 364throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 378throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 392throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 406throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 420throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 434throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 448throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 462throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 476throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 486throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 496throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 506throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 515throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 524throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 533throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 542throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 551throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 560throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 569throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 578throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 587throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 596throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 605throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 614throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 623throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 632throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 641throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 650throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 659throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 668throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 677throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 686throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 695throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 704throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 713throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 722throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 731throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 740throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 749throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 758throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 767throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 776throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 785throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 794throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 803throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 812throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 821throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 830throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 839throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 848throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 857throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 866throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 875throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 884throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 893throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 902throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 911throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 920throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 929throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 938throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 947throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 956throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 965throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 974throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 983throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 992throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1001throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1010throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
System\Data\Objects\FieldDescriptor.cs (6)
131EntityUtil.CheckArgumentNull(item, "item"); 135throw EntityUtil.IncompatibleArgument(); 154throw EntityUtil.NotSupported(); 159EntityUtil.CheckArgumentNull(item, "item"); 162throw EntityUtil.IncompatibleArgument(); 170throw EntityUtil.WriteOperationNotAllowedOnReadOnlyBindingList();
System\Data\Objects\Internal\BaseEntityWrapper.cs (3)
51throw EntityUtil.UnexpectedNullRelationshipManager(); 75throw EntityUtil.UnexpectedNullRelationshipManager(); 208_identityType = EntityUtil.GetEntityIdentityType(typeof(TEntity));
System\Data\Objects\Internal\EntityProxyFactory.cs (5)
460PropertyInfo property = EntityUtil.GetTopProperty(proxyType, member.Name); 674PropertyInfo baseProperty = EntityUtil.GetTopProperty(BaseType, member.Name); 845PropertyInfo clrProperty = EntityUtil.GetTopProperty(ospaceEntityType.ClrType, member.Name); 1087PropertyInfo clrProperty = EntityUtil.GetTopProperty(ospaceEntityType.ClrType, member.Name); 1175MethodInfo getRelatedCollection = s_GetRelatedCollection.MakeGenericMethod(EntityUtil.GetCollectionElementType(navProperty.Value.PropertyType));
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (1)
181throw EntityUtil.DuplicateTypeForProxyType(ospaceEntityType.ClrType);
System\Data\Objects\Internal\EntitySqlQueryBuilder.cs (2)
39throw EntityUtil.NotSupported(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_NotSupportedLinqSource); 168throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidQueryArgument, "query");
System\Data\Objects\Internal\EntitySqlQueryState.cs (2)
87EntityUtil.CheckArgumentNull(commandText, "commandText"); 90throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_InvalidEmptyQuery, "commandText");
System\Data\Objects\Internal\EntityWrapper.cs (2)
167throw EntityUtil.UnexpectedNullRelationshipManager(); 200throw EntityUtil.UnexpectedNullRelationshipManager();
System\Data\Objects\Internal\EntityWrapperFactory.cs (2)
260throw EntityUtil.UnexpectedNullRelationshipManager(); 267throw EntityUtil.InvalidRelationshipManagerOwner();
System\Data\Objects\Internal\LazyLoadBehavior.cs (2)
126PropertyInfo propertyInfo = EntityUtil.GetTopProperty(ospaceEntityType.ClrType, member.Name); 133isCandidate = EntityUtil.TryGetICollectionElementType(propertyValueType, out elementType);
System\Data\Objects\Internal\ObjectFullSpanRewriter.cs (2)
66throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectQuery_Span_IncludeRequiresEntityOrEntityCollection); 108throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectQuery_Span_NoNavProp(parentInfo.DeclaringType.FullName, navPropNames[pos]));
System\Data\Objects\Internal\ObjectQueryExecutionPlan.cs (4)
73throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectQuery_InvalidConnection); 92if (EntityUtil.IsCatchableExceptionType(e)) 97throw EntityUtil.CommandCompilation(System.Data.Entity.Strings.EntityClient_CommandDefinitionPreparationFailed, e); 104throw EntityUtil.ProviderDoesNotSupportCommandTrees();
System\Data\Objects\Internal\ObjectQueryState.cs (2)
84EntityUtil.CheckArgumentNull(elementType, "elementType"); 87EntityUtil.CheckArgumentNull(context, "context");
System\Data\Objects\Internal\PocoPropertyAccessorStrategy.cs (8)
50PropertyInfo propertyInfo = EntityUtil.GetTopProperty(ref type, relatedEnd.TargetAccessor.PropertyName); 82PropertyInfo propertyInfo = EntityUtil.GetTopProperty(ref type, relatedEnd.TargetAccessor.PropertyName); 118PropertyInfo property = EntityUtil.GetTopProperty(entityType, propertyName); 184Type elementType = EntityUtil.GetCollectionElementType(navPropType); 200throw EntityUtil.CannotAddToFixedSizeArray(array); 244Type elementType = EntityUtil.GetCollectionElementType(navPropType); 259throw EntityUtil.CannotRemoveFromFixedSizeArray(array); 296var typeToInstantiate = EntityUtil.DetermineCollectionType(navigationPropertyType);
System\Data\Objects\NextResultGenerator.cs (2)
48if (EntityUtil.IsCatchableExceptionType(e)) 50throw EntityUtil.CommandExecution(System.Data.Entity.Strings.EntityClient_StoreReaderFailed, e);
System\Data\Objects\ObjectContext.cs (100)
170: this(EntityUtil.CheckArgumentNull(connection, "connection"), true) 242throw EntityUtil.InvalidConnection(isConnectionConstructor, null); 253throw EntityUtil.InvalidConnection(isConnectionConstructor, e); 292throw EntityUtil.ObjectContextDisposed(); 317throw EntityUtil.CannotSetDefaultContainerName(); 379throw EntityUtil.InvalidCommandTimeout("value"); 543EntityUtil.ValidateEntitySetInKey(key, entitySetFromName, "entitySetName"); 553throw EntityUtil.EntitySetNameOrEntityKeyRequired(); 573throw EntityUtil.ObjectStateManagerContainsThisEntityKey(); 582EntityUtil.EntityAlreadyExistsInObjectStateManager() : 583EntityUtil.ObjectStateManagerDoesnotAllowToReAddUnchangedOrModifiedOrDeletedEntity(existingEntry.State); 613EntityUtil.CheckArgumentNull(entity, "entity"); 706EntityUtil.ValidateEntitySetInKey(key, entitySet); 839EntityUtil.CheckArgumentNull(selector, "selector"); 873EntityUtil.CheckStringArgument(entitySetName, "entitySetName"); 874EntityUtil.CheckArgumentNull(changed, "changed"); 886EntityUtil.CheckStringArgument(entitySetName, "entitySetName"); 887EntityUtil.CheckArgumentNull(currentEntity, "currentEntity"); 901EntityUtil.ValidateEntitySetInKey(key, entitySet, "entitySetName"); 913throw EntityUtil.EntityNotTracked(); 930EntityUtil.CheckStringArgument(entitySetName, "entitySetName"); 931EntityUtil.CheckArgumentNull(originalEntity, "originalEntity"); 946EntityUtil.ValidateEntitySetInKey(key, entitySet, "entitySetName"); 958throw EntityUtil.EntityNotTrackedOrHasTempKey(); 965throw EntityUtil.EntityMustBeUnchangedOrModifiedOrDeleted(ose.State); 970throw EntityUtil.EntitiesHaveDifferentType(ose.Entity.GetType().FullName, originalEntity.GetType().FullName); 993EntityUtil.CheckArgumentNull(entity, "entity"); 1078EntityUtil.CheckArgumentNull(entity, "entity"); 1082throw EntityUtil.CannotAttachEntityWithoutKey(); 1107EntityUtil.ValidateEntitySetInKey(key, entitySet); 1120throw EntityUtil.CannotAttachEntityWithTemporaryKey(); 1167throw EntityUtil.ObjectStateManagerContainsThisEntityKey(); 1201throw EntityUtil.EntityCantHaveMultipleChangeTrackers(); 1214EntityUtil.CheckStringArgument(entitySetName, "entitySetName"); 1215EntityUtil.CheckArgumentNull(entity, "entity"); 1221MetadataWorkspace.ImplicitLoadAssemblyForType(EntityUtil.GetEntityIdentityType(entity.GetType()), null); 1244throw EntityUtil.NthElementIsNull(entities.Count); 1305throw EntityUtil.MultipleEntitySetsFoundInAllContainers(entityCLRType.FullName, exceptionParameterName); 1321throw EntityUtil.NoEntitySetFoundForType(entityCLRType.FullName, exceptionParameterName); 1343throw EntityUtil.MultipleEntitySetsFoundInSingleContainer(entityCLRType.FullName, container.Name, exceptionParameterName); 1387throw EntityUtil.InvalidEntityTypeForObjectSet(entityCLRType.FullName, entitySet.ElementType.FullName, entitySetName, exceptionParameterName); 1404throw EntityUtil.ObjectContextDisposed(); 1423throw EntityUtil.InvalidOperation(message); 1565throw EntityUtil.ObjectContextDisposed(); 1595throw EntityUtil.ObjectContextDisposed(); 1612throw EntityUtil.ContextMetadataHasChanged(); 1630EntityUtil.CheckArgumentNull(queryString, "queryString"); 1631EntityUtil.CheckArgumentNull(parameters, "parameters"); 1659EntityUtil.CheckStringArgument(connectionString, "connectionString"); 1676throw EntityUtil.ObjectContextDisposed(); 1712EntityUtil.CheckArgumentNull(entity, "entity"); 1717throw EntityUtil.CannotDeleteEntityNotInObjectStateManager(); 1725throw EntityUtil.EntityNotInObjectSet_Delete(actualEntitySet.EntityContainer.Name, actualEntitySet.Name, expectedEntitySet.EntityContainer.Name, expectedEntitySet.Name); 1760EntityUtil.CheckArgumentNull(entity, "entity"); 1767throw EntityUtil.CannotDetachEntityNotInObjectStateManager(); 1775throw EntityUtil.EntityNotInObjectSet_Detach(actualEntitySet.EntityContainer.Name, actualEntitySet.Name, expectedEntitySet.EntityContainer.Name, expectedEntitySet.Name); 1849throw EntityUtil.EntityContainterNotFoundForName(entityContainerName); 1857throw EntityUtil.EntitySetNotFoundForName(TypeHelpers.GetFullName(container.Name, entitySetName)); 1867EntityUtil.CheckStringArgument(qualifiedName, parameterName); 1872throw EntityUtil.QualfiedEntitySetName(parameterName); 1884throw EntityUtil.QualfiedEntitySetName(parameterName); 1889throw EntityUtil.QualfiedEntitySetName(parameterName); 1894throw EntityUtil.ContainerQualifiedEntitySetNameRequired(parameterName); 1908throw EntityUtil.InvalidEntitySetOnEntity(entitySet.Name, entityType, "entity"); 1921throw EntityUtil.InvalidEntityType(entityCLRType); 1936EntityUtil.CheckArgumentNull(key, "key"); 1950throw EntityUtil.ObjectNotFound(); 1970EntityUtil.CheckArgumentRefreshMode(refreshMode); 1971EntityUtil.CheckArgumentNull(collection, "collection"); 1995EntityUtil.CheckArgumentRefreshMode(refreshMode); 1996EntityUtil.CheckArgumentNull(entity, "entity"); 2025throw EntityUtil.NthElementNotInObjectStateManager(entities.Count); 2029throw EntityUtil.NthElementInAddedState(entities.Count); 2040throw EntityUtil.NthElementIsDuplicate(entities.Count); 2148throw EntityUtil.ClientEntityRemovedFromStore(builder.ToString()); 2256EntityUtil.CheckEntityKeyNull(key); 2261throw EntityUtil.StoreEntityNotPresentInClient(); 2361throw EntityUtil.InvalidDataAdapter(); 2434if (EntityUtil.IsCatchableExceptionType(e)) 2436throw EntityUtil.AcceptAllChangesFailure(e); 2510esql.AppendFormat("SELECT VALUE X FROM {0}.{1} AS X WHERE ", EntityUtil.QuoteIdentifier(entitySet.EntityContainer.Name), EntityUtil.QuoteIdentifier(entitySet.Name)); 2522esql.AppendFormat("X.{0} = @{1}", EntityUtil.QuoteIdentifier(members[i].Key), parameterName); 2575EntityUtil.CheckStringArgument(functionName, "function"); 2576EntityUtil.CheckArgumentNull(parameters, "parameters"); 2587throw EntityUtil.ExecuteFunctionCalledWithNonReaderFunction(functionImport); 2606EntityUtil.CheckStringArgument(functionName, "function"); 2607EntityUtil.CheckArgumentNull(parameters, "parameters"); 2623if (EntityUtil.IsCatchableEntityExceptionType(e)) 2625throw EntityUtil.CommandExecution(System.Data.Entity.Strings.EntityClient_CommandExecutionFailed, e); 2643throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_ExecuteFunctionCalledWithNullParameter(i)); 2689if (EntityUtil.IsCatchableEntityExceptionType(e)) 2691throw EntityUtil.CommandExecution(System.Data.Entity.Strings.EntityClient_CommandExecutionFailed, e); 2933EntityUtil.CheckArgumentNull(type, "type"); 3056EntityUtil.CheckStringArgument(entitySetName, "entitySetName"); 3137EntityUtil.CheckStringArgument(entitySetName, "entitySetName"); 3154EntityUtil.CheckArgumentNull(reader, "reader"); 3155EntityUtil.CheckArgumentMergeOption(mergeOption); 3176throw EntityUtil.InvalidOperation(Strings.ObjectContext_InvalidEntitySetForStoreQuery(entitySet.EntityContainer.Name, 3249throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectContext_ExecuteCommandWithMixOfDbParameterAndValues);
System\Data\Objects\ObjectParameter.cs (6)
80EntityUtil.CheckArgumentNull(name, "name"); 81EntityUtil.CheckArgumentNull(type, "type"); 85throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectParameter_InvalidParameterName(name), "name"); 124EntityUtil.CheckArgumentNull(name, "name"); 125EntityUtil.CheckArgumentNull(value, "value"); 129throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectParameter_InvalidParameterName(name), "name");
System\Data\Objects\ObjectParameterCollection.cs (10)
43EntityUtil.CheckArgumentNull(perspective, "perspective"); 147throw EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.ObjectParameterCollection_ParameterNameNotFound(name), "name"); 192EntityUtil.CheckArgumentNull(parameter, "parameter"); 197throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectParameterCollection_ParameterAlreadyExists(parameter.Name), "parameter"); 202throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectParameterCollection_DuplicateParameterName(parameter.Name), "parameter"); 207throw EntityUtil.ArgumentOutOfRange(System.Data.Entity.Strings.ObjectParameter_InvalidParameterType(parameter.ParameterType.FullName), "parameter"); 251EntityUtil.CheckArgumentNull(parameter, "parameter"); 276EntityUtil.CheckArgumentNull(name, "name"); 330EntityUtil.CheckArgumentNull(parameter, "parameter"); 491throw EntityUtil.InvalidOperation(Strings.ObjectParameterCollection_ParametersLocked);
System\Data\Objects\ObjectQuery.cs (3)
195EntityUtil.CheckArgumentMergeOption(value); 288throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.ObjectQuery_UnableToMapResultType); 309EntityUtil.CheckArgumentMergeOption(mergeOption);
System\Data\Objects\ObjectQuery_EntitySqlExtensions.cs (36)
136EntityUtil.CheckArgumentMergeOption(mergeOption); 180EntityUtil.CheckArgumentMergeOption(mergeOption); 196EntityUtil.CheckArgumentNull(entitySet, "entitySet"); 200EntityUtil.QuoteIdentifier(entitySet.EntityContainer.Name), 201EntityUtil.QuoteIdentifier(entitySet.Name)); 223EntityUtil.CheckArgumentNull(value, "value"); 227throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_InvalidQueryName(value), "value"); 274EntityUtil.CheckArgumentNull(query, "query"); 301EntityUtil.CheckArgumentNull(keys, "keys"); 302EntityUtil.CheckArgumentNull(projection, "projection"); 303EntityUtil.CheckArgumentNull(parameters, "parameters"); 307throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidGroupKeyList, "keys"); 312throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidProjectionList, "projection"); 333EntityUtil.CheckArgumentNull(query, "query"); 372throw EntityUtil.EntitySqlError(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidResultType(typeof(TResultType).FullName)); 402EntityUtil.CheckArgumentNull(keys, "keys"); 403EntityUtil.CheckArgumentNull(parameters, "parameters"); 407throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidSortKeyList, "keys"); 434EntityUtil.CheckArgumentNull(projection, "projection"); 435EntityUtil.CheckArgumentNull(parameters, "parameters"); 439throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidProjectionList, "projection"); 466EntityUtil.CheckArgumentNull(projection, "projection"); 467EntityUtil.CheckArgumentNull(parameters, "parameters"); 471throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidProjectionList, "projection"); 506EntityUtil.CheckArgumentNull(keys, "keys"); 507EntityUtil.CheckArgumentNull(count, "count"); 508EntityUtil.CheckArgumentNull(parameters, "parameters"); 512throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidSortKeyList, "keys"); 517throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidSkipCount, "count"); 545EntityUtil.CheckArgumentNull(count, "count"); 549throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidTopCount, "count"); 571EntityUtil.CheckArgumentNull(query, "query"); 596EntityUtil.CheckArgumentNull(query, "query"); 622EntityUtil.CheckArgumentNull(predicate, "predicate"); 623EntityUtil.CheckArgumentNull(parameters, "parameters"); 627throw EntityUtil.Argument(System.Data.Entity.Strings.ObjectQuery_QueryBuilder_InvalidFilterPredicate, "predicate");
System\Data\Objects\ObjectQuery_TResultType.cs (4)
49EntityUtil.CheckArgumentMergeOption(mergeOption); 60EntityUtil.CheckStringArgument(path, "path"); 153throw EntityUtil.InvalidOperation(Strings.ELinq_MethodNotDirectlyCallable); 159throw EntityUtil.InvalidOperation(Strings.ELinq_MethodNotDirectlyCallable);
System\Data\Objects\ObjectResult_TResultType.cs (1)
69throw EntityUtil.CannotReEnumerateQueryResults();
System\Data\Objects\ObjectStateEntry.cs (1)
355throw EntityUtil.ObjectStateEntryinInvalidState();
System\Data\Objects\ObjectStateEntryBaseUpdatableDataRecord.cs (9)
122throw EntityUtil.InvalidSourceBufferIndex(tempBuffer.Length, srcIndex, "dataIndex"); 126throw EntityUtil.InvalidDestinationBufferIndex(buffer.Length, bufferIndex, "bufferIndex"); 135throw EntityUtil.InvalidDataLength(length); 177throw EntityUtil.InvalidSourceBufferIndex(tempBuffer.Length, srcIndex, "dataIndex"); 181throw EntityUtil.InvalidDestinationBufferIndex(buffer.Length, bufferIndex, "bufferIndex"); 190throw EntityUtil.InvalidDataLength(length); 210throw EntityUtil.NotSupported(); 324throw EntityUtil.ArgumentOutOfRange("name"); 362throw EntityUtil.ArgumentNull("values");
System\Data\Objects\ObjectStateEntryDbDataRecord.cs (13)
29EntityUtil.CheckArgumentNull(cacheEntry, "cacheEntry"); 30EntityUtil.CheckArgumentNull(userObject, "userObject"); 31EntityUtil.CheckArgumentNull(metadata, "metadata"); 49EntityUtil.CheckArgumentNull(cacheEntry, "cacheEntry"); 106throw EntityUtil.InvalidSourceBufferIndex(tempBuffer.Length, srcIndex, "dataIndex"); 110throw EntityUtil.InvalidDestinationBufferIndex(buffer.Length, bufferIndex, "bufferIndex"); 119throw EntityUtil.InvalidDataLength(length); 145throw EntityUtil.InvalidSourceBufferIndex(buffer.Length, bufferIndex, "bufferIndex"); 149throw EntityUtil.InvalidDestinationBufferIndex(buffer.Length, bufferIndex, "bufferIndex"); 158throw EntityUtil.InvalidDataLength(length); 168throw EntityUtil.NotSupported(); 219throw EntityUtil.ArgumentOutOfRange("name"); 242throw EntityUtil.ArgumentNull("values");
System\Data\Objects\ObjectStateEntryDbUpdatableDataRecord.cs (5)
25EntityUtil.CheckArgumentNull(cacheEntry, "cacheEntry"); 26EntityUtil.CheckArgumentNull(userObject, "userObject"); 27EntityUtil.CheckArgumentNull(metadata, "metadata"); 43EntityUtil.CheckArgumentNull(cacheEntry, "cacheEntry"); 71throw EntityUtil.CantModifyRelationValues();
System\Data\Objects\ObjectStateEntryOriginalDbUpdatableDataRecord.cs (6)
27EntityUtil.CheckArgumentNull(cacheEntry, "cacheEntry"); 28EntityUtil.CheckArgumentNull(userObject, "userObject"); 29EntityUtil.CheckArgumentNull(metadata, "metadata"); 84throw EntityUtil.SetOriginalComplexProperties(member.CLayerName); 101throw EntityUtil.SetOriginalPrimaryKey(member.CLayerName); 112throw EntityUtil.NullOriginalValueForNonNullableProperty(member.CLayerName, member.ClrMetadata.Name, member.ClrMetadata.DeclaringType.FullName);
System\Data\Objects\ObjectStateManager.cs (43)
136EntityUtil.CheckArgumentNull(metadataWorkspace, "metadataWorkspace"); 286throw EntityUtil.ObjectStateManagerContainsThisEntityKey(); 317throw EntityUtil.DuplicateTypeForProxyType(identityType); 351throw EntityUtil.EntityTypeDoesNotMatchEntitySet(wrappedObject.Entity.GetType().Name, TypeHelpers.GetFullName(entitySet), argumentName); 373EntityUtil.CheckEntityKeyNull(entityKey); 374EntityUtil.CheckEntityKeysMatch(wrappedObject, entityKey); 394throw EntityUtil.ObjectStateManagerContainsThisEntityKey(); 401throw EntityUtil.ObjectStateManagerDoesnotAllowToReAddUnchangedOrModifiedOrDeletedEntity(existingEntry.State); 838throw EntityUtil.EntityConflictsWithKeyEntry(); 884throw EntityUtil.CannotFillTryDifferentMergeOption(targetRelatedEnd.SourceRoleName, targetRelatedEnd.RelationshipName); 942EntityUtil.CheckEntityKeyNull(targetKey); 984throw EntityUtil.CannotFillTryDifferentMergeOption(relatedEnd.SourceRoleName, relatedEnd.RelationshipName); 1466throw EntityUtil.InvalidKey(); 1486throw EntityUtil.InvalidKey(); 1495throw EntityUtil.KeyPropertyDoesntMatchValueInKey(forAttach); 1773throw EntityUtil.DetachedObjectStateEntriesDoesNotExistInObjectStateManager(); 1998throw EntityUtil.CannotFixUpKeyToExistingValues(); 2121throw EntityUtil.AcceptChangesEntityKeyIsNotValid(); 2127EntityUtil.CheckEntityKeysMatch(entry.WrappedEntity, value); 2153EntityUtil.CheckArgumentNull(entity, "entity"); 2154EntityUtil.CheckValidStateForChangeEntityState(entityState); 2172throw EntityUtil.NoEntryExistsForObject(entity); 2206EntityUtil.CheckStringArgument(navigationProperty, "navigationProperty"); 2317EntityUtil.CheckArgumentNull(sourceEntity, "sourceEntity"); 2318EntityUtil.CheckArgumentNull(targetEntity, "targetEntity"); 2333EntityUtil.CheckValidStateForChangeRelationshipState(relationshipState, "relationshipState"); 2400throw EntityUtil.NoEntryExistsForObject(o); 2432throw EntityUtil.NoEntryExistForEntityKey(); 2442throw EntityUtil.NoEntryExistForEntityKey(); 2459throw EntityUtil.NoEntryExistsForObject(entity); 2472throw EntityUtil.NoEntryExistsForObject(entity); 2487EntityUtil.CheckArgumentNull(entity, "entity"); 2558EntityUtil.CheckArgumentNull(key, "key"); 2653EntityUtil.CheckArgumentNull(entity, "entity"); 2660throw EntityUtil.UnexpectedNullRelationshipManager(); 2664throw EntityUtil.InvalidRelationshipManagerOwner(); 3038throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Mapping_CannotMapCLRTypeMultipleTimes(typeMetadata.CdmMetadata.EdmType.FullName)); 3132throw EntityUtil.UnableToAddRelationshipWithDeletedEntity(); 3146throw EntityUtil.CannotChangeReferentialConstraintProperty(); 3182throw EntityUtil.CannotChangeReferentialConstraintProperty(); 3723StateManagerTypeMetadata typeMetadata = this.GetOrAddStateManagerTypeMetadata(EntityUtil.GetEntityIdentityType(entity.GetType()), entitySet); 3732throw EntityUtil.EntityTypeDoesNotMatchEntitySet(entity.GetType().FullName, entitySet.Name, "entity"); 3738throw EntityUtil.NullKeyValue(keyName, entitySet.ElementType.Name);
System\Data\Objects\ObjectStateManagerMetadata.cs (3)
32ClrType = EntityUtil.GetEntityIdentityType(type); 135throw EntityUtil.NullableComplexTypesNotSupported(CLayerName); 226throw EntityUtil.ArgumentOutOfRange("ordinal");
System\Data\Objects\ObjectView.cs (16)
90throw EntityUtil.WriteOperationNotAllowedOnReadOnlyBindingList(); 172throw EntityUtil.AddNewOperationNotAllowedOnAbstractBindingList(); 216get { throw EntityUtil.NotSupported(); } 221get { throw EntityUtil.NotSupported(); } 238throw EntityUtil.NotSupported(); 243throw EntityUtil.NotSupported(); 248throw EntityUtil.NotSupported(); 253throw EntityUtil.NotSupported(); 258throw EntityUtil.NotSupported(); 283throw EntityUtil.CannotReplacetheEntityorRow(); 298throw EntityUtil.CannotReplacetheEntityorRow(); 319EntityUtil.CheckArgumentNull(value, "value"); 323throw EntityUtil.IncompatibleArgument(); 410throw EntityUtil.IndexBasedInsertIsNotSupported(); 417EntityUtil.CheckArgumentNull(value, "value"); 421throw EntityUtil.IncompatibleArgument();
System\Data\Objects\ObjectViewFactory.cs (4)
78EntityUtil.CheckArgumentNull(queryResults, "queryResults"); 79EntityUtil.CheckArgumentNull(objectContext, "objectContext"); 114throw EntityUtil.ValueInvalidCast(clrElementType, typeof(TElement)); 197throw EntityUtil.ValueInvalidCast(clrElementType, typeof(TElement));
System\Data\Objects\ObjectViewQueryResultData.cs (1)
105throw EntityUtil.CannotResolveTheEntitySetforGivenEntity(typeof(TElement));
System\Data\Objects\ProxyDataContractResolver.cs (7)
28EntityUtil.CheckStringArgument(typeName, "typeName"); 29EntityUtil.CheckStringArgument(typeNamespace, "typeNamespace"); 30EntityUtil.CheckArgumentNull(declaredType, "declaredType"); 31EntityUtil.CheckArgumentNull(knownTypeResolver, "knownTypeResolver"); 38EntityUtil.CheckArgumentNull(dataContractType, "dataContractType"); 39EntityUtil.CheckArgumentNull(declaredType, "declaredType"); 40EntityUtil.CheckArgumentNull(knownTypeResolver, "knownTypeResolver");
System\Data\Objects\RelationshipEntry.cs (17)
109throw EntityUtil.CantModifyRelationState(); 145throw EntityUtil.CantModifyRelationState(); 155throw EntityUtil.CantModifyRelationState(); 165throw EntityUtil.CantModifyRelationState(); 181throw EntityUtil.OriginalValuesDoesNotExist(); 190throw EntityUtil.CantModifyRelationValues(); 206throw EntityUtil.CurrentValuesDoesNotExist(); 223EntityUtil.CheckValidStateForChangeRelationshipState(state, "state"); 253throw EntityUtil.CantModifyRelationValues(); 258throw EntityUtil.CantModifyRelationValues(); 290throw EntityUtil.CantModifyRelationState(); 330throw EntityUtil.CantModifyRelationValues(); 341throw EntityUtil.CantModifyRelationValues(); 353throw EntityUtil.CantModifyRelationValues(); 365throw EntityUtil.CantModifyRelationValues(); 399throw EntityUtil.CurrentValuesDoesNotExist(); 408throw EntityUtil.ArgumentOutOfRange("ordinal");
System\Data\Objects\RelationshipWrapper.cs (1)
107throw EntityUtil.ArgumentOutOfRange("ordinal");
System\Data\Objects\Span.cs (2)
148EntityUtil.CheckStringArgument(path, "path"); 267throw EntityUtil.SpanPathSyntaxError();
System\Data\Objects\SqlClient\SqlFunctions.cs (140)
42throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 56throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 65throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 74throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 83throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 92throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 101throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 110throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 119throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 128throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 138throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 147throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 157throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 167throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 177throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 186throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 195throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 204throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 213throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 222throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 231throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 240throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 249throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 258throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 268throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 277throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 286throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 295throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 304throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 313throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 322throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 331throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 340throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 349throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 358throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 367throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 376throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 385throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 394throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 403throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 412throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 421throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 430throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 439throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 448throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 457throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 466throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 475throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 484throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 493throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 502throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 511throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 520throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 529throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 538throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 547throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 556throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 565throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 574throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 583throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 592throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 601throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 610throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 619throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 628throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 637throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 646throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 655throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 664throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 673throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 682throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 691throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 700throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 709throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 718throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 727throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 736throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 745throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 754throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 763throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 772throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 781throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 790throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 799throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 808throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 817throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 826throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 835throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 844throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 853throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 862throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 871throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 880throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 889throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 898throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 907throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 916throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 925throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 934throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 943throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 952throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 961throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 970throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 979throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 988throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 997throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1006throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1015throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1024throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1033throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1042throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1051throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1060throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1069throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1078throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1087throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1096throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1105throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1114throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1123throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1132throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1141throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1150throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1159throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1168throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1177throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1186throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1195throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1204throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1213throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1222throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1231throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1240throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1249throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1258throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1267throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1276throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1285throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1294throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 1303throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
System\Data\Objects\SqlClient\SqlSpatialFunctions.cs (17)
37throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 46throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 55throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 64throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 73throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 82throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 91throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 101throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 110throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 119throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 130throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 139throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 148throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 157throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 166throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 175throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall); 184throw EntityUtil.NotSupported(System.Data.Entity.Strings.ELinq_EdmFunctionDirectCall);
System\Data\PropertyConstraintException.cs (2)
65EntityUtil.CheckStringArgument(propertyName, "propertyName"); 77EntityUtil.CheckStringArgument(propertyName, "propertyName");
System\Data\Query\InternalTrees\ColumnMapFactory.cs (6)
107throw EntityUtil.CommandExecutionDataReaderFieldCountForScalarType(); 139throw EntityUtil.InvalidOperation( 175throw EntityUtil.InvalidOperation(Strings.ObjectContext_TwoPropertiesMappedToSameColumn( 280throw EntityUtil.InvalidOperation(Strings.ADP_InvalidDataReaderUnableToMaterializeNonScalarType(member.Name, member.TypeUsage.EdmType.FullName)); 326throw EntityUtil.CommandExecutionDataReaderMissingColumnForType(member, currentType); 357throw EntityUtil.CommandExecutionDataReaderMissinDiscriminatorColumn(columnName, functionImport);
System\Data\Query\InternalTrees\Command.cs (3)
66throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.Cqt_General_NoProviderBooleanType); 70throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.Cqt_General_NoProviderIntegerType); 74throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.Cqt_General_NoProviderStringType);
System\Data\Query\InternalTrees\Dump.cs (2)
121if (!EntityUtil.IsCatchableExceptionType(e)) { 852if (!EntityUtil.IsCatchableExceptionType(e)) {
System\Data\Query\InternalTrees\OpCopier.cs (2)
126throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnknownVar, 6);
System\Data\Query\PlanCompiler\ColumnMapProcessor.cs (1)
523throw EntityUtil.NotSupported(type.Identity);
System\Data\Query\PlanCompiler\ColumnMapTranslator.cs (2)
196throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.UnknownVar, 1, varRefColumnMap.Var.Id); // shouldn't have gotten here without having a resolveable var
System\Data\Query\PlanCompiler\ConstraintManager.cs (1)
138throw EntityUtil.NotSupported();
System\Data\Query\PlanCompiler\CTreeGenerator.cs (21)
721throw EntityUtil.NotSupported(); 727throw EntityUtil.NotSupported(); 981throw EntityUtil.NotSupported(System.Data.Entity.Strings.Iqt_CTGen_UnexpectedAggregate); 986throw EntityUtil.NotSupported(); 992throw EntityUtil.NotSupported(); 997throw EntityUtil.NotSupported(); 1003throw EntityUtil.NotSupported(); 1009throw EntityUtil.NotSupported(); 1015throw EntityUtil.NotSupported(); 1021throw EntityUtil.NotSupported(); 1032throw EntityUtil.NotSupported(); 1101throw EntityUtil.NotSupported(); 1107throw EntityUtil.NotSupported(); 1113throw EntityUtil.NotSupported(); 1311throw EntityUtil.NotSupported(); 1815throw EntityUtil.NotSupported(); 2212throw EntityUtil.NotSupported(); 2310throw EntityUtil.NotSupported(System.Data.Entity.Strings.Iqt_CTGen_UnexpectedVarDef); 2320throw EntityUtil.NotSupported(System.Data.Entity.Strings.Iqt_CTGen_UnexpectedVarDefList); 2366throw EntityUtil.NotSupported(); 2370throw EntityUtil.NotSupported();
System\Data\Query\PlanCompiler\ITreeGenerator.cs (6)
288throw EntityUtil.NotSupported(System.Data.Entity.Strings.ParameterTypeNotSupported(paramInfo.Key, paramInfo.Value.ToString())); 898throw EntityUtil.CommandCompilation(Strings.Cqt_UDF_FunctionDefinitionWithCircularReference(expandingEdmFunction.FullName), null); 977throw EntityUtil.NotSupported(System.Data.Entity.Strings.Cqt_General_UnsupportedExpression(e.GetType().FullName)); 1052if (EntityUtil.IsCatchableExceptionType(exception)) 1054throw EntityUtil.CommandCompilation(Strings.Cqt_UDF_FunctionDefinitionGenerationFailed(e.Function.FullName), exception); 1244throw EntityUtil.NotSupported();
System\Data\Query\PlanCompiler\JoinGraph.cs (1)
1135bool useCompatMode = m_isSqlCe || EntityUtil.UseFx40CompatMode;
System\Data\Query\PlanCompiler\NestPullup.cs (21)
155throw EntityUtil.NestingNotSupported(op, chi.Op); 192throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 2); 199throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 3); 338throw EntityUtil.NestingNotSupported(op, chi.Op); 345throw EntityUtil.NestingNotSupported(op, chi.Op); 447throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.JoinOverSingleStreamNest); 469throw EntityUtil.KeysRequiredForJoinOverNest(op); 1787throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.InvalidInternalTree, 2, newNode.Op.OpType); 1900throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.NestOverNest); 2173throw EntityUtil.KeysRequiredForNesting(); 2605throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 4); // more columns from children than are on the unionAll? 2619throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 5); // more columns from children than are on the unionAll? 2627throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 6); // at this point, we better be done with both lists...
System\Data\Query\PlanCompiler\NominalTypeEliminator.cs (2)
1370throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.WrongVarType);
System\Data\Query\PlanCompiler\PlanCompiler.cs (2)
156throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.AssertionFailed, 0, message);
System\Data\Query\PlanCompiler\PreProcessor.cs (3)
472throw EntityUtil.NotSupported(System.Data.Entity.Strings.Cqt_RelNav_NoCompositions); 1128throw EntityUtil.Metadata(System.Data.Entity.Strings.EntityClient_UnmappedFunctionImport(op.Function.FullName)); 1261throw EntityUtil.Metadata(System.Data.Entity.Strings.EntityClient_IncompatibleNavigationPropertyResult(
System\Data\Query\PlanCompiler\PropertyPushdownHelper.cs (3)
380throw EntityUtil.NotSupported(); 823throw EntityUtil.NotSupported(); 834throw EntityUtil.NotSupported();
System\Data\Query\PlanCompiler\ProviderCommandInfoUtils.cs (2)
117throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.ColumnCountMismatch, 1);
System\Data\Query\PlanCompiler\VarRemapper.cs (1)
257throw EntityUtil.NotSupported();
System\Data\Query\ResultAssembly\BridgeDataReader.cs (6)
276throw EntityUtil.ImplicitlyClosedDataReaderError(); 279throw EntityUtil.DataReaderClosed(methodName); 333throw EntityUtil.NotSupported(System.Data.Entity.Strings.ADP_GetSchemaTableIsNotSupported); 558throw EntityUtil.NotSupported(); 604throw EntityUtil.NotSupported(); 615throw EntityUtil.NotSupported();
System\Data\Query\ResultAssembly\BridgeDataRecord.cs (10)
176throw EntityUtil.ClosedDataReaderError(); 179throw EntityUtil.ImplicitlyClosedDataReaderError(); 190throw EntityUtil.NoData(); 204throw EntityUtil.ArgumentOutOfRange("ordinal"); 207throw EntityUtil.NonSequentialColumnAccess(ordinal, _lastColumnRead + 1); 229throw EntityUtil.ArgumentOutOfRange("ordinal"); 232throw EntityUtil.NonSequentialColumnAccess(ordinal, _lastColumnRead + 1); 236throw EntityUtil.NonSequentialArrayOffsetAccess(dataOffset, _lastDataOffsetRead + 1, methodName); 327throw EntityUtil.ArgumentOutOfRange("ordinal"); 490EntityUtil.CheckArgumentNull(values, "values");
System\Data\Spatial\DbGeography.cs (1)
481throw EntityUtil.ArgumentNull("distance");
System\Data\Spatial\DbGeometry.cs (1)
576throw EntityUtil.ArgumentNull("distance");
System\Data\Spatial\Internal\SpatialExceptions.cs (12)
20return EntityUtil.ArgumentNull(argumentName); 26return EntityUtil.Argument(System.Data.Entity.Strings.Spatial_ProviderValueNotCompatibleWithSpatialServices, "providerValue"); 36return EntityUtil.InvalidOperation(System.Data.Entity.Strings.Spatial_WellKnownValueSerializationPropertyNotDirectlySettable); 44return EntityUtil.Argument(System.Data.Entity.Strings.Spatial_GeographyValueNotCompatibleWithSpatialServices, argumentName); 50return EntityUtil.Argument(System.Data.Entity.Strings.Spatial_WellKnownGeographyValueNotValid, argumentName); 56return EntityUtil.Argument(System.Data.Entity.Strings.SqlSpatialservices_CouldNotCreateWellKnownGeographyValueNoSrid, argumentName); 62return EntityUtil.Argument(System.Data.Entity.Strings.SqlSpatialservices_CouldNotCreateWellKnownGeographyValueNoWkbOrWkt, argumentName); 72return EntityUtil.Argument(System.Data.Entity.Strings.Spatial_GeometryValueNotCompatibleWithSpatialServices, argumentName); 78throw EntityUtil.Argument(System.Data.Entity.Strings.Spatial_WellKnownGeometryValueNotValid, argumentName); 84return EntityUtil.Argument(System.Data.Entity.Strings.SqlSpatialservices_CouldNotCreateWellKnownGeometryValueNoSrid, argumentName); 90return EntityUtil.Argument(System.Data.Entity.Strings.SqlSpatialservices_CouldNotCreateWellKnownGeometryValueNoWkbOrWkt, argumentName); 99return EntityUtil.Argument(System.Data.Entity.Strings.SqlSpatialServices_ProviderValueNotSqlType(requiredType.AssemblyQualifiedName), "providerValue");
System\Data\SqlClient\IDbSpatialValue.cs (2)
136public Exception NotSqlCompatible() { return EntityUtil.GeographyValueNotSqlCompatible(); } 206public Exception NotSqlCompatible() { return EntityUtil.GeometryValueNotSqlCompatible(); }
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (3)
399throw EntityUtil.NotSupported(System.Data.Entity.Strings.Update_NotSupportedServerGenKey(table.Name)); 404throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.Update_NotSupportedIdentityType( 588throw EntityUtil.Update(System.Data.Entity.Strings.Update_SqlEntitySetWithoutDmlFunctions(expression.Target.Name, missingCudElement, StorageMslConstructs.ModificationFunctionMappingElement), null);
System\Data\SqlClient\SqlGen\Sql8ConformanceChecker.cs (4)
213throw EntityUtil.NotSupported(System.Data.Entity.Strings.Cqt_General_UnsupportedExpression(expression.GetType().FullName)); 233throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_ApplyNotSupportedOnSql8); 480throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_ParameterForLimitNotSupportedOnSql8); 650throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_ParameterForSkipNotSupportedOnSql8);
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (4)
672EntityUtil.Metadata(System.Data.Entity.Strings.SqlGen_NiladicFunctionsCannotHaveParameters); 908throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.SqlGen_InvalidDatePartArgumentExpression(e.Function.NamespaceName, e.Function.Name)); 914throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.SqlGen_InvalidDatePartArgumentExpression(e.Function.NamespaceName, e.Function.Name)); 924throw EntityUtil.InvalidOperation(System.Data.Entity.Strings.SqlGen_InvalidDatePartArgumentValue(datepart, e.Function.NamespaceName, e.Function.Name));
System\Data\SqlClient\SqlGen\SqlGenerator.cs (31)
541throw EntityUtil.NotSupported(); 611throw EntityUtil.InvalidOperation(String.Empty); 656throw EntityUtil.InvalidOperation(String.Empty); 758throw EntityUtil.InvalidOperation(String.Empty); 777throw EntityUtil.NotSupported(); 1027throw EntityUtil.NotSupported(System.Data.Entity.Strings.NoStoreTypeForEdmType(resultType.Identity, ((PrimitiveType)(resultType.EdmType)).PrimitiveTypeKind)); 1032throw EntityUtil.NotSupported(); 1092throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_TypedNaNNotSupported(Enum.GetName(typeof(PrimitiveTypeKind), PrimitiveTypeKind.Double))); 1096throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_TypedPositiveInfinityNotSupported(Enum.GetName(typeof(PrimitiveTypeKind), PrimitiveTypeKind.Double), typeof(Double).Name)); 1100throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_TypedNegativeInfinityNotSupported(Enum.GetName(typeof(PrimitiveTypeKind), PrimitiveTypeKind.Double), typeof(Double).Name)); 1113throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_TypedNaNNotSupported(Enum.GetName(typeof(PrimitiveTypeKind), PrimitiveTypeKind.Single))); 1117throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_TypedPositiveInfinityNotSupported(Enum.GetName(typeof(PrimitiveTypeKind), PrimitiveTypeKind.Single), typeof(Single).Name)); 1121throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_TypedNegativeInfinityNotSupported(Enum.GetName(typeof(PrimitiveTypeKind), PrimitiveTypeKind.Single), typeof(Single).Name)); 1167throw EntityUtil.NotSupported(); 1230throw EntityUtil.InvalidOperation(String.Empty); 1348throw EntityUtil.NotSupported(); 1358throw EntityUtil.NotSupported(); 1368throw EntityUtil.NotSupported(); 1606throw EntityUtil.NotSupported(); 1765throw EntityUtil.NotSupported(); 1868throw EntityUtil.NotSupported(); 2429throw EntityUtil.NotSupported(); 2439throw EntityUtil.NotSupported(); 2592throw EntityUtil.NotSupported(); 2623throw EntityUtil.NotSupported(); 2657throw EntityUtil.NotSupported(); 3274throw EntityUtil.NotSupported(); 3303throw EntityUtil.NotSupported(); 4026throw EntityUtil.InvalidOperation(String.Empty); 4376throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_PrimitiveTypeNotSupportedPriorSql10(primitiveTypeKind)); 4388throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_CanonicalFunctionNotSupportedPriorSql10(e.Function.Name));
System\Data\SqlClient\SqlProviderManifest.cs (10)
162throw EntityUtil.ProviderIncompatible(System.Data.Entity.Strings.ProviderReturnedNullForGetDbInformation(informationType)); 342EntityUtil.CheckArgumentNull<TypeUsage>(storeType, "storeType"); 347throw EntityUtil.Argument(Strings.ProviderDoesNotSupportType(storeTypeName)); 477throw EntityUtil.NotSupported(Strings.ProviderDoesNotSupportType(storeTypeName)); 503throw EntityUtil.NotSupported(Strings.ProviderDoesNotSupportType(storeTypeName)); 515EntityUtil.CheckArgumentNull<TypeUsage>(edmType, "edmType"); 521throw EntityUtil.Argument(Strings.ProviderDoesNotSupportType(edmType.Identity)); 706throw EntityUtil.NotSupported(Strings.NoStoreTypeForEdmType(edmType.Identity, primitiveType.PrimitiveTypeKind)); 718throw EntityUtil.NotSupported(Strings.NoStoreTypeForEdmType(edmTypeIdentity, primitiveTypeKind)); 741EntityUtil.CheckArgumentNull(argument, "argument");
System\Data\SqlClient\SqlProviderServices.cs (30)
71EntityUtil.CheckArgumentNull(commandTree, "commandTree"); 86EntityUtil.CheckArgumentNull(providerManifest, "providerManifest"); 87EntityUtil.CheckArgumentNull(commandTree, "commandTree"); 92throw EntityUtil.Argument(System.Data.Entity.Strings.Mapping_Provider_WrongManifestType(typeof(SqlProviderManifest))); 143throw EntityUtil.InternalError(EntityUtil.InternalErrorCode.SqlGenParametersNotPermitted); 217EntityUtil.CheckArgumentNull(connection, "connection"); 222throw EntityUtil.Argument(Strings.UnableToDetermineStoreVersion); 247throw EntityUtil.Argument(Strings.UnableToDetermineStoreVersion); 255EntityUtil.CheckArgumentNull(fromReader, "fromReader"); 262throw EntityUtil.ProviderIncompatible(Strings.SqlProvider_NeedSqlDataReader(fromReader.GetType())); 279throw EntityUtil.Argument(Strings.UnableToDetermineStoreVersion); 288throw EntityUtil.ProviderIncompatible(Strings.SqlProvider_Sql2008RequiredForSpatial); 297throw EntityUtil.SqlTypesAssemblyNotFound(); 701EntityUtil.CheckArgumentNull(providerManifestToken, "providerManifestToken"); 702EntityUtil.CheckArgumentNull(storeItemCollection, "storeItemCollection"); 719EntityUtil.CheckArgumentNull(connection, "connection"); 720EntityUtil.CheckArgumentNull(storeItemCollection, "storeItemCollection"); 751if (EntityUtil.IsCatchableExceptionType(e)) 761if (EntityUtil.IsCatchableExceptionType(ie)) 779throw EntityUtil.Argument(System.Data.Entity.Strings.Mapping_Provider_WrongManifestType(typeof(SqlProviderManifest))); 817throw EntityUtil.InvalidOperation(Strings.SqlProvider_DdlGeneration_MissingInitialCatalog); 889EntityUtil.CheckArgumentNull(connection, "connection"); 890EntityUtil.CheckArgumentNull(storeItemCollection, "storeItemCollection"); 897throw EntityUtil.InvalidOperation(Strings.SqlProvider_DdlGeneration_MissingInitialCatalog); 936throw EntityUtil.InvalidOperation(Strings.SqlProvider_DdlGeneration_CannotTellIfDatabaseExists, e); 973EntityUtil.CheckArgumentNull(connection, "connection"); 974EntityUtil.CheckArgumentNull(storeItemCollection, "storeItemCollection"); 1014throw EntityUtil.InvalidOperation(Strings.SqlProvider_DdlGeneration_CannotDeleteDatabaseNoInitialCatalog); 1020throw EntityUtil.InvalidOperation(Strings.SqlProvider_DdlGeneration_MissingInitialCatalog);
System\Data\SqlClient\SqlProviderUtilities.cs (1)
34throw EntityUtil.Argument(Strings.Mapping_Provider_WrongConnectionType(typeof(SqlConnection)));
System\Data\SqlClient\SqlTypesAssembly.cs (1)
138if (EntityUtil.AssemblyNamesMatch(assembly.FullName, new AssemblyName(knownAssemblyFullName)))
System\Data\SqlClient\SqlVersion.cs (2)
84throw EntityUtil.Argument(Strings.UnableToDetermineStoreVersion); 105throw EntityUtil.Argument(Strings.UnableToDetermineStoreVersion);