1 write to Name
System.Data.Entity (1)
System\Data\EntityModel\SchemaObjectModel\TypeElement.cs (1)
217_primitiveType.Name = value;
239 references to Name
System.Data.Entity (151)
System\Data\Common\CommandTrees\ExpressionBuilder\EdmFunctions.cs (1)
33func => string.Equals(func.Name, functionName, StringComparison.Ordinal))
System\Data\Common\CommandTrees\ExpressionBuilder\Internal\ArgumentValidation.cs (3)
770edmEnumType.Name, 1869Debug.Assert(function.Name != null, "EdmType constructor allowed null name?"); 2089if (clrEnumType.Name != edmEnumType.Name
System\Data\Common\CommandTrees\Internal\ExpressionCopier.cs (3)
78if (_metadata.TryGetFunction(function.Name, 93if (_perspective.TryGetFunctionByName(function.NamespaceName, function.Name, /*ignoreCase:*/ false, out candidateFunctions)) 160if (!_metadata.TryGetType(type.Name, type.NamespaceName, type.DataSpace, out retType) ||
System\Data\Common\CommandTrees\Internal\ExpressionDumper.cs (3)
214"Name", type.Name); 240type.Name 251Begin("Function", "Name", function.Name, "Namespace", function.NamespaceName);
System\Data\Common\CommandTrees\Internal\ExpressionPrinter.cs (2)
354text.Append(type.EdmType.Name); 369text.Append(type.Name);
System\Data\Common\DataRecord.cs (1)
285return GetMember(ordinal).TypeUsage.EdmType.Name;
System\Data\Common\DbXmlEnabledProviderManifest.cs (2)
122_storeTypeNameToStorePrimitiveType.Add(type.Name.ToLowerInvariant(), type); 123_storeTypeNameToEdmPrimitiveType.Add(type.Name.ToLowerInvariant(), EdmProviderManifest.Instance.GetPrimitiveType(type.PrimitiveTypeKind));
System\Data\Common\EntitySql\CqlErrorHelper.cs (4)
29sb.Append(functionType.Name).Append("("); 53formatString(functionType.NamespaceName, functionType.Name, sb.ToString()), 55System.Data.Entity.Strings.CtxFunction(functionType.Name), 246return type.Name;
System\Data\Common\EntitySql\SemanticAnalyzer.cs (1)
1306aggregateInfo.AttachToAstNode(sr.GenerateInternalName("groupAgg" + functionType.Name), functionAggregate);
System\Data\Common\EntityUtil.cs (2)
1296functionImport.Name); 1301functionImport.ReturnParameter.TypeUsage.EdmType.FullName, functionImport.Name);
System\Data\Common\Internal\Materialization\ColumnMapKeyBuilder.cs (1)
94Append(".", type.Name);
System\Data\Common\QueryCache\EntityClientCacheKey.cs (1)
144result = type.EdmType.Name;
System\Data\Common\Utils\CommandHelper.cs (1)
181if (candidate.Name == functionImportName)
System\Data\EntityClient\EntityCommandDefinition.cs (1)
232throw new NotSupportedException(System.Data.Entity.Strings.ComplexTypeAsReturnTypeAndNestedComplexProperty(property.Name, complexType.Name, functionImport.FullName));
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (1)
158property.TypeUsage.EdmType.Name, property.TypeUsage.EdmType.BaseType.FullName, primitivePropertyType.PrimitiveTypeKind));
System\Data\EntityModel\SchemaObjectModel\PrimitiveSchema.cs (1)
48TryAddType(new ScalarType(this, entry.Name, entry), false /*doNotAddErrorForEmptyName*/);
System\Data\EntityModel\SchemaObjectModel\TypeElement.cs (2)
213return _primitiveType.Name; 319PrimitiveType.Name,
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\DefaultObjectMappingItemCollection.cs (4)
522edmMember.TypeUsage.EdmType.Name, edmMember.TypeUsage.EdmType.BuiltInTypeKind, edmMember.Name, edmMember.DeclaringType.FullName, 523objectMember.TypeUsage.EdmType.Name, objectMember.TypeUsage.EdmType.BuiltInTypeKind, objectMember.Name, objectMember.DeclaringType.FullName)); 703edmEnumType.UnderlyingType.Name, 705objectEnumType.UnderlyingType.Name,
System\Data\Mapping\MetadataMappingHasherVisitor.cs (1)
671this.AddObjectContentToHashBuilder(primitiveType.Name);
System\Data\Mapping\StorageAssociationTypeMapping.cs (1)
117sb.Append(this.m_relation.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\Mapping\Update\Internal\Propagator.Evaluator.cs (1)
504throw EntityUtil.NotSupported(Strings.Update_UnsupportedCastArgument(nodeType.EdmType.Name));
System\Data\Mapping\ViewGeneration\CqlGeneration\CqlWriter.cs (1)
39AppendEscapedName(builder, GetQualifiedName(type.NamespaceName, type.Name));
System\Data\Mapping\ViewGeneration\GeneratedView.cs (1)
311builder.Append(", ").Append(m_type.Name).Append(')');
System\Data\Mapping\ViewGeneration\QueryRewriting\QueryRewriter.cs (1)
475typeBasedMembers.Add(member.DeclaringType.Name + "." + member);
System\Data\Mapping\ViewGeneration\Structures\MemberPath.cs (3)
348identifiers.AddIdentifier(m_extent.ElementType.Name); 811return type.Name; 813builder.Append(m_path[0].DeclaringType.Name); // Get CCustomer here
System\Data\Mapping\ViewGeneration\Structures\MemberRestriction.cs (1)
342typeBuilder.Append(type.Name);
System\Data\Mapping\ViewGeneration\Structures\TypeConstant.cs (1)
211builder.Append(m_edmType.Name);
System\Data\Mapping\ViewGeneration\ViewgenContext.cs (1)
258string message = System.Data.Entity.Strings.ViewGen_Concurrency_Derived_Class(tokenMember.Name, tokenMember.DeclaringType.Name, m_extent);
System\Data\Mapping\ViewGeneration\ViewGenerator.cs (1)
361Helpers.FormatTraceLine("CQL View for {0} and type {1}", extent.Name, type.Name);
System\Data\Mapping\ViewGeneration\ViewgenGatekeeper.cs (1)
72Helpers.StringTraceLine("<<<<<<<< Generating Query View for Entity [" + entity.Name + "] OfType" + (includeSubtypes ? "" : "Only") + "(" + type.Name + ") >>>>>>>");
System\Data\Metadata\Converter.cs (1)
1358if (primitiveType.Name == scalarTypeName)
System\Data\Metadata\Edm\EdmFunction.cs (1)
30_fullName = this.NamespaceName + "." + this.Name;
System\Data\Metadata\Edm\EdmType.cs (1)
222builder.Append(CreateEdmTypeIdentity(NamespaceName, Name));
System\Data\Metadata\EdmValidator.cs (1)
275if (string.IsNullOrEmpty(item.Name))
System\Data\Metadata\ObjectLayer\ObjectItemAttributeAssemblyLoader.cs (1)
261SessionData.EdmItemErrors.Add(new EdmItemError(System.Data.Entity.Strings.RoleTypeInEdmRelationshipAttributeIsInvalidType(associationType.Name, roleName, clrType),
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\Metadata\ObjectLayer\ObjectItemLoadingSessionData.cs (3)
86if (_conventionCSpaceTypeNames.TryGetValue(edmType.Name, out pair)) 88_conventionCSpaceTypeNames[edmType.Name] = new KeyValuePair<EdmType, int>(pair.Key, pair.Value + 1); 93_conventionCSpaceTypeNames.Add(edmType.Name, pair);
System\Data\Metadata\Perspective.cs (2)
96functionImport = entityContainer.FunctionImports.Where(fi => String.Equals(fi.Name, functionImportName, StringComparison.OrdinalIgnoreCase)).SingleOrDefault(); 100functionImport = entityContainer.FunctionImports.Where(fi => fi.Name == functionImportName).SingleOrDefault();
System\Data\Metadata\StoreItemCollection.cs (1)
401EdmFunction edmFunction = new EdmFunction(sTypeFunction.Name,
System\Data\Metadata\TypeHelpers.cs (1)
672return GetFullName(type.NamespaceName, type.Name);
System\Data\Objects\DataClasses\RelatedEnd.cs (1)
656sourceBuilder.Append(targetEntityType.Name);
System\Data\Objects\DataRecordObjectView.cs (1)
175return _rowType.Name;
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2054call.Method.Name, operand.ResultType.EdmType.Name));
System\Data\Objects\Internal\EntityProxyTypeInfo.cs (2)
64if (navigationProperty.RelationshipType.Name != navigationProperty.RelationshipType.FullName) 70navigationProperty.RelationshipType.Name,
System\Data\Objects\Internal\EntitySqlQueryBuilder.cs (2)
415newType.Name.Length + 427builder.Append(newType.Name);
System\Data\Objects\ObjectStateManager.cs (1)
3738throw EntityUtil.NullKeyValue(keyName, entitySet.ElementType.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\Query\InternalTrees\Dump.cs (1)
436WriteString(op.PropertyInfo.Relationship.Name);
System\Data\Query\PlanCompiler\PreProcessor.cs (1)
1582PlanCompiler.Assert(false, "Could not find property " + member + " in type " + type.Name);
System\Data\SqlClient\SqlGen\DmlSqlGenerator.cs (1)
427string typeName = typeUsage.EdmType.Name;
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))
System\Data\SqlClient\SqlGen\SqlGenerator.cs (6)
459function.Name : function.StoreFunctionNameAttribute; 948result.Append(e.ResultType.EdmType.Name); 957result.Append(e.ResultType.EdmType.Name); 2663&& String.Equals(functionAggregate.Function.Name, "BigCount", StringComparison.Ordinal)) 3826string typeName = storeTypeUsage.EdmType.Name; 4388throw EntityUtil.NotSupported(System.Data.Entity.Strings.SqlGen_CanonicalFunctionNotSupportedPriorSql10(e.Function.Name));
System\Data\SqlClient\SqlProviderManifest.cs (12)
182string name = primitiveType.Name.ToLowerInvariant(); 199string name = primitiveType.Name.ToLowerInvariant(); 246switch (edmFunction.Name.ToUpperInvariant()) 253string name = ((CollectionType)funParams[0].TypeUsage.EdmType).TypeUsage.EdmType.Name; 264string name = funParams[0].TypeUsage.EdmType.Name; 272string param1Name = funParams[1].TypeUsage.EdmType.Name; 273string param2Name = funParams[2].TypeUsage.EdmType.Name; 282string name = funParams[1].TypeUsage.EdmType.Name; 305switch (edmFunction.Name.ToUpperInvariant()) 310string name = ((CollectionType)funParams[0].TypeUsage.EdmType).TypeUsage.EdmType.Name; 318if (funParam.TypeUsage.EdmType.Name.Equals("Int64", StringComparison.OrdinalIgnoreCase)) 344string storeTypeName = storeType.EdmType.Name.ToLowerInvariant();
System\Data\SqlClient\SqlProviderServices.cs (1)
657if (type.EdmType.Name.ToLowerInvariant() == "xml") {
System\Data\SqlClient\SqlProviderUtilities.cs (4)
350if (type.EdmType.Name == "binary" && 361string typeName = type.EdmType.Name; 377switch (type.EdmType.Name) 408if (type.EdmType.Name == "uniqueidentifier")
System.Data.Entity.Design (49)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (7)
155_writer.WriteAttributeString(XmlConstants.Name, function.Name); 254_writer.WriteAttributeString(XmlConstants.Name, complexType.Name); 270_writer.WriteAttributeString(XmlConstants.Name, associationType.Name); 357_writer.WriteAttributeString(XmlConstants.Name, entityType.Name); 614return type.Name; 791name = type.Name; 796name = type.Name;
System\Data\Entity\Design\Common\OneToOneMappingSerializer.cs (1)
315writer.WriteAttributeString(StorageMslConstructs.FunctionImportMappingFunctionImportNameAttribute, functionImport.Name);
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (3)
777string name = CreateModelName(this._pluralizationServiceHandler.GetEntityTypeName(storeEntityType.Name), session.UsedGlobalModelTypeNames); 908string name = CreateModelName(storeAssociationType.Name, session.UsedGlobalModelTypeNames); 1067usedMemberNames.RegisterUsedIdentifier(entityType.Name);
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (13)
459AssociationSet set = new AssociationSet(type.Name, type); 482if (key.TableName != type.Name) 487EntitySet entitySet = new EntitySet(type.Name, 860Strings.SharedForeignKey(type.Name, toProperty, toProperty.DeclaringType), 989string role = usedEndNames.AdjustIdentifier(type.Name); 1017pkEntityType.Name, 1018fkEntityType.Name, 1019pkEntityType.Name + "." + columns[index].PKColumn), 1031pkEntityType.Name, 1032fkEntityType.Name, 1033fkEntityType.Name + "." + columns[index].FKColumn), 1069errorMessage = Strings.UnsupportedForeignKeyPattern(association.Name, foreignKeys, primaryKeys, toType.Name);
System\Data\EntityModel\Emitters\AssociationTypeEmitter.cs (1)
42Item.Name,
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
142"Name", type.Name); 161targetRelationshipEnd.DeclaringType.Name,
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (4)
432string fullObjectName = CreateFullName(GetObjectNamespace(type.NamespaceName), type.Name); 438string fullObjectName = CreateFullName(GetObjectNamespace(type.NamespaceName), type.Name); 465typeRef = type.Name; 469typeRef = CreateFullName(GetObjectNamespace(type.NamespaceName), type.Name);
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (4)
186set.ElementType.Name, GetAccessibilityCsdlStringFromMemberAttribute(GetEntityTypeAccessibility(set.ElementType)), set.Name, GetAccessibilityCsdlStringFromMemberAttribute(GetEntitySetPropertyAccessibility(set))), 441parameter.Name = Utils.FixParameterName(set.ElementType.Name); 499method.Name = functionImport.Name; 521executeArguments.Add(new CodePrimitiveExpression(functionImport.Name)); // first argument is the name of the function
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
135return TryAddNameToCache((element as StructuralType).Name, element.BuiltInTypeKind.ToString(), cache);
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
115Generator.AddError(Strings.GeneratedNavigationPropertyNameConflict(Item.Name, Item.DeclaringType.Name, property.Name),
System\Data\EntityModel\Emitters\PropertyEmitter.cs (3)
905return Item.DeclaringType.Name; 941throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnTypeToNull(Item.Name, Item.DeclaringType.Name)); 956throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnType(Item.Name, Item.DeclaringType.Name));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (9)
52CodeTypeDeclaration typeDecl = new CodeTypeDeclaration(Item.Name); 62EmitTypeAttributes(Item.Name, typeDecl, eventArgs.AdditionalAttributes); 67AddInterfaces(Item.Name, typeDecl, eventArgs.AdditionalInterfaces); 78this.AddMembers(Item.Name, typeDecl, eventArgs.AdditionalMembers); 168CodeTypeReference typeRef = TypeReference.FromString(Item.Name); 170string instanceName = uniqueIdentifierService.AdjustIdentifier(Item.Name); 174method.Name = "Create" + Item.Name; 177Generator.AddError(Strings.GeneratedFactoryMethodNameConflict(method.Name, Item.Name), 185CommentEmitter.EmitSummaryComments(Strings.FactoryMethodSummaryComment(Item.Name), method.Comments);
System.Data.Services (11)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (11)
1145throw new InvalidOperationException(Strings.ObjectContext_HasStreamAttributeEmpty(type.Name)); 1151throw new NotSupportedException(Strings.ObjectContext_UnsupportedStreamProperty(text, type.Name)); 1349ResourceType resourceType = new ResourceType(clrType, resourceTypeKind, baseResourceType, cspaceType.NamespaceName, cspaceType.Name, clrType.IsAbstract); 1405throw new NotSupportedException(Strings.ObjectContext_PrimitiveTypeNotSupported(member.Name, edmType.Name, member.TypeUsage.EdmType.Name)); 1839xmlWriter.WriteAttributeString(XmlConstants.Name, entityType.Name); 1883xmlWriter.WriteAttributeString(XmlConstants.Name, complexType.Name); 1902xmlWriter.WriteAttributeString(XmlConstants.Name, associationType.Name); 2098foreach (EpmPropertyInformation propertyInformation in GetEpmPropertyInformation(extendedProperties, edmType.Name, null)) 2122foreach (EpmPropertyInformation propertyInformation in GetEpmPropertyInformation(extendedMemberProperties, edmType.Name, member.Name)) 2408IRelatedEnd relatedEnd = stateEntry.RelationshipManager.GetRelatedEnd(navProperty.RelationshipType.Name, navProperty.ToEndMember.Name);
System.Data.Services.Design (25)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (7)
206throw new InvalidOperationException(Strings.ObjectContext_OpenTypePropertyValueIsNotCorrect(System.Data.Services.XmlConstants.DataWebOpenTypeAttributeName, entityType.Name)); 322throw new ArgumentException(Strings.ExpectingComplexTypeForMember(complexProperty.Name, complexProperty.DeclaringType.Name)); 360foreach (EpmPropertyInformation propertyInformation in GetEpmPropertyInformation(extendedProperties, entityType.Name, null)) 374throw new InvalidOperationException(Strings.ObjectContext_UnknownPropertyNameInEpmAttributesType(propertyInformation.SourcePath, entityType.Name)); 392foreach (EpmPropertyInformation propertyInformation in GetEpmPropertyInformation(extendedMemberProperties, entityType.Name, member.Name)) 412throw new InvalidOperationException(Strings.ObjectContext_UnknownPropertyNameInEpmAttributesMember(originalPath, member.Name, entityType.Name)); 532entityType.Name));
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (3)
552typeRef = type.Name; 556typeRef = GetObjectNamespace(clientNamespace) + "." + type.Name; 736if (this.GetSourceTypes().Where(x => x.BuiltInTypeKind == BuiltInTypeKind.EntityType).Where(x => ((EntityType)x).Name == eventArgs.BaseType.BaseType).Count() != 0)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (2)
152set.ElementType.Name, GetAccessibilityCsdlStringFromMemberAttribute(GetEntityTypeAccessibility(set.ElementType)), set.Name, GetAccessibilityCsdlStringFromMemberAttribute(GetEntitySetPropertyAccessibility(set))), 602parameter.Name = Utils.CamelCase(set.ElementType.Name);
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
185return TryAddNameToCache((element as StructuralType).Name, element.BuiltInTypeKind.ToString(), cache);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (3)
830return Item.DeclaringType.Name; 866throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnTypeToNull(Item.Name, Item.DeclaringType.Name)); 882throw EDesignUtil.InvalidOperation(Strings.CannotChangePropertyReturnType(Item.Name, Item.DeclaringType.Name));
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (9)
43CodeTypeDeclaration typeDecl = new CodeTypeDeclaration(Item.Name); 53EmitTypeAttributes(Item.Name, typeDecl, eventArgs.AdditionalAttributes); 58AddInterfaces(Item.Name, typeDecl, eventArgs.AdditionalInterfaces); 69this.AddMembers(Item.Name, typeDecl, eventArgs.AdditionalMembers); 158CodeTypeReference typeRef = TypeReference.FromString(Item.Name); 160string instanceName = uniqueIdentifierService.AdjustIdentifier(Utils.CamelCase(Item.Name)); 164method.Name = "Create" + Item.Name; 167Generator.AddError(Strings.GeneratedFactoryMethodNameConflict(method.Name, Item.Name), 176CommentEmitter.EmitSummaryComments(Strings.FactoryMethodSummaryComment(Item.Name), method.Comments);
System.Web.DynamicData (1)
DynamicData\ModelProviders\EFDataModelProvider.cs (1)
120tableName = entityType.Name;
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceUtil.cs (1)
887+ QuoteEntitySqlIdentifier(type.Name);
System.Web.Entity.Design (1)
System\Data\WebControls\Design\EntityDataSourceEntityTypeFilterItem.cs (1)
37return _entityType.Name;