System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (8)
129System.Data.Entity.Strings.ConstantFacetSpecifiedInSchema(defaultFacet.Name, edmType.Name));
146edmType.Name));
177System.Data.Entity.Strings.FacetNotAllowed(value.Key, edmType.Name));
393primitiveType.Name));
412primitiveType.Name));
450primitiveType.Name));
487_element.AddError(ErrorCode.InvalidSize, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidSize(length, minLength, maxLength, primitiveType.Name));
530_element.AddError(ErrorCode.InvalidSystemReferenceId, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidSystemReferenceId(srid, minSrid, maxSrid, primitiveType.Name));
System\Data\Mapping\StorageMappingItemLoader.cs (14)
1165entityType.Name, StorageMappingErrorCode.RedundantEntityTypeMappingInModificationFunctionMapping, m_sourceLocation, xmlLineInfoNav
1344entityType.Name, setMapping.Set.Name, StorageMappingErrorCode.EmptyQueryView,
1351setMapping.Set.Name, entityType.Name, StorageMappingErrorCode.EmptyQueryView,
1727if (functionImportCandidate.Name == functionImportName)
1803cspaceTargetType.Name,
1805Helper.GetUnderlyingEdmTypeForEnumType(importParameter.TypeUsage.EdmType).Name) :
1808cspaceTargetType.Name,
1809importType.Name);
3642storeMappedTypeUsage.EdmType.Name),
3840propertyName, entityType.Name,
4130propertyName, type.Name, StorageMappingErrorCode.InvalidEdmMember,
4228parameterName, m_function.Name,
4243propertyName, type.Name,
4257propertyName, type.Name,
System\Data\Mapping\Update\Internal\FunctionMappingTranslator.cs (3)
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);
System\Data\Metadata\ObjectLayer\ObjectItemConventionAssemblyLoader.cs (6)
65new EdmItemError(Strings.Validator_OSpace_Convention_AmbiguousClrType(cspaceType.Name, previousOSpaceType.ClrType.FullName, type.FullName), previousOSpaceType));
163ospaceType = new ClrEntityType(type, cspaceType.NamespaceName, cspaceType.Name);
168ospaceType = new ClrComplexType(type, cspaceType.NamespaceName, cspaceType.Name);
232newOSpaceType = new ClrEnumType(enumType, cspaceEnumType.NamespaceName, cspaceEnumType.Name);
698AssociationType ospaceAssociation = new AssociationType(cspaceAssociation.Name, cspaceAssociation.NamespaceName, cspaceAssociation.IsForeignKey, DataSpace.OSpace);
736return type.Name == cspaceType.Name;
System\Data\Query\InternalTrees\ColumnMapFactory.cs (8)
73MultipleDiscriminatorPolymorphicColumnMap polymorphicMap = new MultipleDiscriminatorPolymorphicColumnMap(TypeUsage.Create(baseStructuralType), baseStructuralType.Name, baseTypeColumnMaps, discriminatorColumns, typeChoices, (object[] discriminatorValues) => mapping.Discriminate(discriminatorValues, resultSetIndex));
74CollectionColumnMap collection = new SimpleCollectionColumnMap(baseStructuralType.GetCollectionType().TypeUsage, baseStructuralType.Name, polymorphicMap, null, null);
97elementColumnMap = new RecordColumnMap(TypeUsage.Create(edmType), edmType.Name, propertyColumnMaps, null);
101elementColumnMap = new ComplexTypeColumnMap(TypeUsage.Create(edmType), edmType.Name, propertyColumnMaps, null);
109elementColumnMap = new ScalarColumnMap(TypeUsage.Create(edmType), edmType.Name, 0, 0);
119CollectionColumnMap collection = new SimpleCollectionColumnMap(edmType.GetCollectionType().TypeUsage, edmType.Name, elementColumnMap, null, null);
201rowType.Name, rowMap, null, null);
256EntityColumnMap result = new EntityColumnMap(TypeUsage.Create(edmType), edmType.Name, propertyColumnMaps, entityIdentity);
System\Data\SqlClient\SqlGen\SqlFunctionCallHandler.cs (18)
528&& _storeFunctionHandlers.ContainsKey(e.Function.Name);
540&& _canonicalFunctionHandlers.ContainsKey(e.Function.Name);
738Debug.Assert(handlers.ContainsKey(e.Function.Name), "Special handling should be called only for functions in the list of special functions");
739return handlers[e.Function.Name](sqlgen, e);
763if (staticMethodsMap.TryGetValue(functionExpression.Function.Name, out staticFunctionHandler))
767else if (instancePropertiesMap.TryGetValue(functionExpression.Function.Name, out instancePropertyName))
777if (!renamedInstanceMethodsMap.TryGetValue(functionExpression.Function.Name, out effectiveFunctionName))
779effectiveFunctionName = functionExpression.Function.Name;
855Debug.Assert(_functionNameToOperatorDictionary.ContainsKey(e.Function.Name), "The function can not be mapped to an operator");
856result.Append(_functionNameToOperatorDictionary[e.Function.Name]);
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));
960return HandleCanonicalFunctionDatepart(sqlgen, e.Function.Name.ToLowerInvariant(), e);
1281result.Append(_dateAddFunctionNameToDatepartDictionary[e.Function.Name]);
1316result.Append(_dateDiffFunctionNameToDatepartDictionary[e.Function.Name]);
1704storeFunctionName = function.Name;
1771if (_maxTypeNames.Contains(storeType.EdmType.Name))