136 references to EDesignUtil
System.Data.Entity.Design (136)
System\Data\Entity\Design\Common\EDesignUtil.cs (2)
172EDesignUtil.CheckArgumentNull(targetEntityFrameworkVersion, parameterName); 175throw EDesignUtil.Argument(parameterName);
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (3)
123throw EDesignUtil.EdmReservedNamespace(namespaceToWrite); 148throw EDesignUtil.NonSerializableType(type.BuiltInTypeKind); 697throw EDesignUtil.NonSerializableType(set.BuiltInTypeKind);
System\Data\Entity\Design\Common\MetadataUtil.cs (1)
37EDesignUtil.CheckArgumentNull(factory, "factory");
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (4)
255EDesignUtil.CheckArgumentNull(lookups, "lookups"); 256EDesignUtil.CheckArgumentNull(storeContainer, "storeContainer"); 257EDesignUtil.CheckArgumentNull(modelContainer, "modelContainer"); 266EDesignUtil.CheckArgumentNull(writer, "writer");
System\Data\Entity\Design\EntityCodeGenerator.cs (14)
34_languageOption = EDesignUtil.CheckLanguageOptionArgument(languageOption, "languageOption"); 40set { _languageOption = EDesignUtil.CheckLanguageOptionArgument(value, "value"); } 72EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 75EDesignUtil.CheckArgumentNull(additionalEdmSchemaFilePaths, "additionalEdmSchemaFilePaths"); 77EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 115EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 150EDesignUtil.CheckArgumentNull(sourceEdmSchema, "sourceEdmSchema"); 151EDesignUtil.CheckArgumentNull(target, "target"); 152EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 201EDesignUtil.CheckArgumentNull(sourceEdmSchema, "sourceEdmSchema"); 202EDesignUtil.CheckArgumentNull(additionalEdmSchemas, "additionalEdmSchemas"); 203EDesignUtil.CheckArgumentNull(target, "target"); 204EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 583throw EDesignUtil.InvalidOperation(message);
System\Data\Entity\Design\EntityFrameworkVersions.cs (2)
40EDesignUtil.CheckTargetEntityFrameworkVersionArgument(entityFrameworkVersion, "entityFrameworkVersion"); 55throw EDesignUtil.Argument("dataSpace");
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (21)
55EDesignUtil.CheckArgumentNull(namespaceName, "namespaceName"); 56EDesignUtil.CheckArgumentNull(modelEntityContainerName, "modelEntityContainerName"); 69EDesignUtil.CheckArgumentNull(storeItemCollection, "storeItemCollection"); 70EDesignUtil.CheckArgumentNull(namespaceName, "namespaceName"); 71EDesignUtil.CheckArgumentNull(modelEntityContainerName, "modelEntityContainerName"); 76throw EDesignUtil.SingleStoreEntityContainerExpected("storeItemCollection"); 90EDesignUtil.CheckArgumentNull(storeEntityContainer, "storeEntityContainer"); 93throw EDesignUtil.InvalidStoreEntityContainer(storeEntityContainer.Name, "storeEntityContainer"); 98EDesignUtil.CheckStringArgument(namespaceName, "namespaceName"); 103throw EDesignUtil.InvalidNamespaceNameArgument(namespaceName); 109EDesignUtil.CheckStringArgument(modelEntityContainerName, "modelEntityContainerName"); 113throw EDesignUtil.InvalidEntityContainerNameArgument(modelEntityContainerName); 117throw EDesignUtil.DuplicateEntityContainerName(modelEntityContainerName, storeEntityContainer.Name); 212EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 223EDesignUtil.CheckStringArgument(outputFileName, "outputFileName"); 240EDesignUtil.CheckArgumentNull(writer, "writer"); 251EDesignUtil.CheckStringArgument(outputFileName, "outputFileName"); 268EDesignUtil.CheckArgumentNull(writer, "writer"); 352throw EDesignUtil.MissingGenerationPatternForType(storeSet.BuiltInTypeKind); 448string message = EDesignUtil.GetMessagesFromEntireExceptionChain(e); 745throw EDesignUtil.EntityModelGeneratorSchemaNotLoaded();
System\Data\Entity\Design\EntityStoreSchemaFilterEntry.cs (1)
40throw EDesignUtil.Argument("types");
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (17)
55EDesignUtil.CheckStringArgument(providerInvariantName, "providerInvariantName"); 56EDesignUtil.CheckArgumentNull(connectionString, "connectionString"); // check for NULL string and support empty connection string 57EDesignUtil.CheckStringArgument(namespaceName, "namespaceName"); 114EDesignUtil.CheckArgumentNull(filters, "filters"); 126EDesignUtil.CheckArgumentNull(filters, "filters"); 127EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 214string message = EDesignUtil.GetMessagesFromEntireExceptionChain(e); 240EDesignUtil.CheckStringArgument(outputFileName, "outputFileName"); 257EDesignUtil.CheckArgumentNull(writer, "writer"); 299EDesignUtil.CheckArgumentNull(providerInvariantName, "providerInvariantName"); 300EDesignUtil.CheckArgumentNull(connectionString, "connectionString"); 301EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 310throw EDesignUtil.Argument(Strings.EntityClient_InvalidStoreProvider(providerInvariantName), e); 318throw EDesignUtil.ProviderIncompatible(Strings.ProviderFactoryReturnedNullFactory(providerInvariantName)); 403throw EDesignUtil.ProviderIncompatible(Strings.ProviderSchemaErrors, e); 430throw EDesignUtil.ProviderIncompatible(Strings.ProviderSchemaErrors, EntityUtil.InvalidSchemaEncountered(MetadataUtil.CombineErrorMessage(errors))); 439throw EDesignUtil.EntityStoreGeneratorSchemaNotLoaded();
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (13)
56m_languageOption = EDesignUtil.CheckLanguageOptionArgument(languageOption, "languageOption"); 84set { m_languageOption = EDesignUtil.CheckLanguageOptionArgument(value, "value"); } 103EDesignUtil.CheckArgumentNull(mappingCollection, "mappingCollection"); 104EDesignUtil.CheckStringArgument(outputPath, "outputPath"); 132EDesignUtil.CheckArgumentNull(mappingCollection, "mappingCollection"); 152EDesignUtil.CheckArgumentNull(mappingCollection, "mappingCollection"); 153EDesignUtil.CheckArgumentNull(outputWriter, "outputWriter"); 155EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 167throw EDesignUtil.Argument(Strings.TargetVersionSchemaVersionMismatch(targetEntityFrameworkVersion, mappingVersion), null); 173throw EDesignUtil.Argument(Strings.TargetVersionSchemaVersionMismatch(targetEntityFrameworkVersion, edmVersion), null); 206EDesignUtil.CheckArgumentNull(mappingCollection, "mappingCollection"); 222EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 227EDesignUtil.CheckArgumentNull(mappingCollection, "mappingCollection");
System\Data\Entity\Design\MetadataItemCollectionFactory.cs (7)
63EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 114EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 155EDesignUtil.CheckArgumentNull(edmCollection, "edmCollection"); 156EDesignUtil.CheckArgumentNull(storeCollection, "storeCollection"); 157EDesignUtil.CheckArgumentNull(readers, "readers"); 158EDesignUtil.CheckTargetEntityFrameworkVersionArgument(targetEntityFrameworkVersion, "targetEntityFrameworkVersion"); 161throw EDesignUtil.Argument("edmCollection");
System\Data\Entity\Design\PluralizationService\EnglishPluralizationService.cs (7)
317EDesignUtil.CheckArgumentNull<string>(word, "word"); 344EDesignUtil.CheckArgumentNull<string>(word, "word"); 372EDesignUtil.CheckArgumentNull<string>(word, "word"); 562EDesignUtil.CheckArgumentNull<string>(word, "word"); 864EDesignUtil.CheckArgumentNull<string>(word, "word"); 911EDesignUtil.CheckArgumentNull<string>(singular, "singular"); 912EDesignUtil.CheckArgumentNull<string>(plural, "plural");
System\Data\Entity\Design\PluralizationService\PluralizationService.cs (1)
38EDesignUtil.CheckArgumentNull<CultureInfo>(culture, "culture");
System\Data\Entity\Design\SSDLGenerator\RelationshipDetailsRow.cs (12)
57throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.PKCatalogColumn.ColumnName, _tableRelationshipDetails.TableName, e); 79throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.PKSchemaColumn.ColumnName, _tableRelationshipDetails.TableName, e); 101throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.PKTableColumn.ColumnName, _tableRelationshipDetails.TableName, e); 123throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.PKColumnColumn.ColumnName, _tableRelationshipDetails.TableName, e); 145throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.FKCatalogColumn.ColumnName, _tableRelationshipDetails.TableName, e); 167throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.FKSchemaColumn.ColumnName, _tableRelationshipDetails.TableName, e); 189throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.FKTableColumn.ColumnName, _tableRelationshipDetails.TableName, e); 211throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.FKColumnColumn.ColumnName, _tableRelationshipDetails.TableName, e); 233throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.OrdinalColumn.ColumnName, _tableRelationshipDetails.TableName, e); 255throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.RelationshipNameColumn.ColumnName, _tableRelationshipDetails.TableName, e); 277throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.RelationshipIdColumn.ColumnName, _tableRelationshipDetails.TableName, e); 298throw EDesignUtil.StonglyTypedAccessToNullValue(_tableRelationshipDetails.RelationshipIsCascadeDeleteColumn.ColumnName, _tableRelationshipDetails.TableName, e);
System\Data\Entity\Design\SSDLGenerator\TableDetailsRow.cs (13)
57throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.CatalogColumn.ColumnName, _tableTableDetails.TableName, e); 79throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.SchemaColumn.ColumnName, _tableTableDetails.TableName, e); 101throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.TableNameColumn.ColumnName, _tableTableDetails.TableName, e); 123throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.ColumnNameColumn.ColumnName, _tableTableDetails.TableName, e); 145throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.IsNullableColumn.ColumnName, _tableTableDetails.TableName, e); 167throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.DataTypeColumn.ColumnName, _tableTableDetails.TableName, e); 189throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.MaximumLengthColumn.ColumnName, _tableTableDetails.TableName, e); 211throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.DateTimePrecisionColumn.ColumnName, _tableTableDetails.TableName, e); 234throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.PrecisionColumn.ColumnName, _tableTableDetails.TableName, e); 256throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.ScaleColumn.ColumnName, _tableTableDetails.TableName, e); 278throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.IsIdentityColumn.ColumnName, _tableTableDetails.TableName, e); 300throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.IsServerGeneratedColumn.ColumnName, _tableTableDetails.TableName, e); 322throw EDesignUtil.StonglyTypedAccessToNullValue(_tableTableDetails.IsPrimaryKeyColumn.ColumnName, _tableTableDetails.TableName, e);
System\Data\EntityModel\EdmToObjectNamespaceMap.cs (2)
35EDesignUtil.CheckStringArgument(edmNamespace, "edmNamespace"); 36EDesignUtil.CheckArgumentNull(objectNamespace, "objectNamespace");
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (1)
348throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnType(set.Name, Item.Name));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
941throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnTypeToNull(Item.Name, Item.DeclaringType.Name)); 956throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnType(Item.Name, Item.DeclaringType.Name));
System\Data\EntityModel\EntityClassGenerator.cs (13)
79_languageOption = EDesignUtil.CheckLanguageOptionArgument(languageOption, "languageOption"); 88set { _languageOption = EDesignUtil.CheckLanguageOptionArgument(value, "value"); } 105EDesignUtil.CheckArgumentNull(sourceEdmSchema, "sourceEdmSchema"); 106EDesignUtil.CheckArgumentNull(target, "target"); 115EDesignUtil.CheckArgumentNull(sourceEdmSchema, "sourceEdmSchema"); 116EDesignUtil.CheckArgumentNull(additionalEdmSchemas, "additionalEdmSchemas"); 117EDesignUtil.CheckArgumentNull(target, "target"); 131throw EDesignUtil.Argument(Strings.NullAdditionalSchema("additionalEdmSchema", index)); 187EDesignUtil.CheckStringArgument(sourceEdmSchemaFilePath, "sourceEdmSchemaFilePath"); 188EDesignUtil.CheckArgumentNull(additionalEdmSchemaFilePaths, "additionalEdmSchemaFilePaths"); 189EDesignUtil.CheckStringArgument(targetPath, "targetPath"); 221throw EDesignUtil.Argument(Strings.NullAdditionalSchema("additionalEdmSchemaFilePaths", index)); 320throw EDesignUtil.InvalidOperation(Strings.TargetEntityFrameworkVersionToNewForEntityClassGenerator);