2 overrides of Name
System.Data.Entity (2)
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSetEnd.cs (1)
45public override string Name
System\Data\EntityModel\SchemaObjectModel\TypeElement.cs (1)
209public override string Name
10 writes to Name
System.Data.Entity (10)
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSet.cs (1)
181associationSet.Name = this.Name;
System\Data\EntityModel\SchemaObjectModel\EntityContainerEntitySet.cs (2)
156Name = reader.Value; 257entitySet.Name = this.Name;
System\Data\EntityModel\SchemaObjectModel\Function.cs (1)
570clone.Name = this.Name;
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (1)
140parameter.Name = this.Name;
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraintRoleElement.cs (1)
96this.Name = roleName;
System\Data\EntityModel\SchemaObjectModel\RelationshipEnd.cs (1)
134Name = Utils.ExtractTypeName(Schema.DataModel, _unresolvedType);
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (1)
103parameter.Name = this.Name;
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (1)
45Name = typeName;
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
554Name = HandleUndottedNameAttribute(reader, Name);
110 references to Name
System.Data.Entity (110)
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (18)
228if (_unresolvedExtendedEntityContainerName == this.Name) 231System.Data.Entity.Strings.EntityContainerCannotExtendItself(this.Name)); 331if (Utils.CompareNames(set.Name, name) == 0) 354schemaElement.Name, ExtendingEntityContainer.Name, this.Name)); 412System.Data.Entity.Strings.SimilarRelationshipEnd(alreadyValidatedEnd.Name, alreadyValidatedEnd.ParentElement.Name, 413currentSetEnd.ParentElement.Name, alreadyValidatedEnd.EntitySet.Name, this.FQName)); 470return this.Name; 481return Name; 497schema = this.Name; 508table = entitySet.Name; 531tableKey = entitySet.Name; 537entitySet.AddError(ErrorCode.AlreadyDefined, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.DuplicateEntitySetTable(entitySet.Name, schema, table)); 554left.Name == right.Name)
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSet.cs (2)
136System.Data.Entity.Strings.InferRelationshipEndGivesAlreadyDefinedEnd(end.EntitySet.FQName, Name)); 181associationSet.Name = this.Name;
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSetEnd.cs (4)
158set.Name, this.ParentElement.Name, ParentElement.Relationship.FQName, set.EntityType.FQName, this.ParentElement.ParentElement.FQName ) ); 165set.Name, this.ParentElement.Name, ParentElement.Relationship.FQName, set.EntityType.FQName, this.ParentElement.ParentElement.FQName));
System\Data\EntityModel\SchemaObjectModel\EntityContainerEntitySet.cs (4)
42return this.ParentElement.Name + "." + this.Name; 235System.Data.Entity.Strings.EntitySetTypeHasNoKeys(Name, _entityType.FQName)); 257entitySet.Name = this.Name;
System\Data\EntityModel\SchemaObjectModel\EntityContainerRelationshipSet.cs (3)
41return this.ParentElement.Name + "." + this.Name; 96System.Data.Entity.Strings.InvalidRelationshipSetType(element.Name ) );
System\Data\EntityModel\SchemaObjectModel\EntityContainerRelationshipSetEnd.cs (1)
109System.Data.Entity.Strings.InvalidEntitySetNameReference(_unresolvedEntitySetName, Name ) );
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (10)
88AddError(ErrorCode.InvalidKey, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidKeyNoProperty(this.ParentElement.FQName, property.Name)); 106if (propertyLookUp.ContainsKey(property.Name)) 109System.Data.Entity.Strings.DuplicatePropertyNameSpecifiedInEntityKey(this.ParentElement.FQName, property.Name)); 113propertyLookUp.Add(property.Name, keyProperty); 118System.Data.Entity.Strings.InvalidKeyNullablePart(property.Name, this.ParentElement.Name)); 126System.Data.Entity.Strings.EntityKeyMustBeScalar(property.Name, this.ParentElement.Name)); 144Strings.EntityKeyTypeCurrentlyNotSupported(property.Name, this.ParentElement.FQName, primitivePropertyType.PrimitiveTypeKind)); 157Strings.EntityKeyTypeCurrentlyNotSupportedInSSDL(property.Name, this.ParentElement.FQName,
System\Data\EntityModel\SchemaObjectModel\FacetDescriptionElement.cs (1)
155_facetDescription = new FacetDescription(Name, FacetType, MinValue, MaxValue, DefaultValue, _isConstant, declaringTypeName);
System\Data\EntityModel\SchemaObjectModel\Function.cs (2)
473System.Data.Entity.Strings.InvalidParameterTypeForAggregateFunction(param.Name, FQName)); 570clone.Name = this.Name;
System\Data\EntityModel\SchemaObjectModel\FunctionImportElement.cs (6)
42return _container.Name + "." + this.Name; 50return base.Name; 183GetReturnTypeErrorMessage(Schema.SchemaVersion, this.Name) 250this.FQName, entitySet.EntityType.FQName, entitySet.Name)); 267System.Data.Entity.Strings.ComplexTypeAsReturnTypeAndDefinedEntitySet(this.FQName, complexType.Name));
System\Data\EntityModel\SchemaObjectModel\KeyProperty.cs (2)
68if (string.IsNullOrEmpty(this.Name)) 75_property = entityType.FindProperty(this.Name);
System\Data\EntityModel\SchemaObjectModel\NavigationProperty.cs (1)
166System.Data.Entity.Strings.BadNavigationPropertyBadFromRoleType(this.Name,
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (2)
140parameter.Name = this.Name; 261this.ParentElement.Name,
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (11)
55if (_principalRole.Name == _dependentRole.Name) 87PrincipalRole.Name, principalRoleEnd.Type.FQName, this.ParentElement.FQName)); 115System.Data.Entity.Strings.InvalidMultiplicityFromRoleUpperBoundMustBeOne(_principalRole.Name, this.ParentElement.Name)); 120string message = System.Data.Entity.Strings.InvalidMultiplicityFromRoleToPropertyNullableV1(_principalRole.Name, this.ParentElement.Name); 134message = System.Data.Entity.Strings.InvalidMultiplicityFromRoleToPropertyNonNullableV1(_principalRole.Name, this.ParentElement.Name); 138message = System.Data.Entity.Strings.InvalidMultiplicityFromRoleToPropertyNonNullableV2(_principalRole.Name, this.ParentElement.Name); 152System.Data.Entity.Strings.InvalidMultiplicityToRoleLowerBoundMustBeZero(_dependentRole.Name, this.ParentElement.Name)); 164DependentRole.Name, dependentRoleEnd.Type.FQName, this.ParentElement.FQName)); 203_dependentRole.RoleProperties[i].Name, 205_principalRole.RoleProperties[i].Name,
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraintRoleElement.cs (5)
104Debug.Assert(!String.IsNullOrEmpty(this.Name), "RoleName should never be empty"); 107if (!relationship.TryGetEnd(this.Name, out _end)) 111System.Data.Entity.Strings.InvalidEndRoleInRelationshipConstraint(this.Name, relationship.Name)); 139property.Name, 140this.Name));
System\Data\EntityModel\SchemaObjectModel\RelationshipEnd.cs (3)
112System.Data.Entity.Strings.EndWithManyMultiplicityCannotHaveOperationsSpecified(this.Name, ParentElement.FQName)); 123System.Data.Entity.Strings.EndWithoutMultiplicity(this.Name, ParentElement.FQName)); 133if (Name == null && _unresolvedType != null)
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (1)
103parameter.Name = this.Name;
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (3)
140return Name; 151return Name; 554Name = HandleUndottedNameAttribute(reader, Name);
System\Data\EntityModel\SchemaObjectModel\SchemaEnumType.cs (3)
239System.Data.Entity.Strings.EnumMemberValueOutOfItsUnderylingTypeRange(invalidEnumMember.Value, invalidEnumMember.Name, UnderlyingType.Name)); 244if (_enumMembers.GroupBy(o => o.Name).Where(g => g.Count() > 1).Any())
System\Data\EntityModel\SchemaObjectModel\SchemaType.cs (2)
44return Namespace + "." + Name; 55return Namespace + "." + Name;
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (6)
183if(HowDefined.AsMember == BaseType.DefinesMemberName(member.Name, out definingType, out definingMember)) 185errorMessage = System.Data.Entity.Strings.DuplicateMemberName(member.Name, FQName, definingType.FQName); 212if (string.IsNullOrEmpty(newMember.Name)) 219Utils.CompareNames(newMember.Name, Name) == 0) 222System.Data.Entity.Strings.InvalidMemberNameMatchesTypeName(newMember.Name, FQName));
System\Data\Metadata\Converter.cs (20)
260EntityContainer entityContainer = new EntityContainer(element.Name, GetDataSpace(providerManifest)); 329keyMembers[i] = (element.DeclaredKeyProperties[i].Property.Name); 344EntityType entityType = new EntityType(element.Name, 403ComplexType complexType = new ComplexType(element.Name, 452AssociationType associationType = new AssociationType(element.Name, 506AssociationEndMember fromMember = (AssociationEndMember)associationType.Members[constraint.PrincipalRole.Name]; 507AssociationEndMember toMember = (AssociationEndMember)associationType.Members[constraint.DependentRole.Name]; 583result[i] = (EdmProperty)entityType.Members[properties[i].Name]; 613EntitySet entitySet = new EntitySet(set.Name, set.DbSchema, set.Table, set.DefiningQuery, 637return container.GetEntitySetByName(set.Name, false); 662AssociationSet associationSet = new AssociationSet(relationshipSet.Name, associationType); 672AssociationEndMember endMember = (AssociationEndMember)associationType.Members[end.Name]; 761property = new EdmProperty(somProperty.Name, typeUsage); 831NavigationProperty navigationProperty = new NavigationProperty(somNavigationProperty.Name, typeUsage); 937functionNamespace = somFunctionImport.Container.Name; 983FunctionParameter parameter = new FunctionParameter(somParameter.Name, 995EdmFunction function = new EdmFunction(somFunction.Name, 1052EnumType enumType = new EnumType(somEnumType.Name, 1063var enumMember = new EnumMember(somEnumMember.Name, Convert.ChangeType(somEnumMember.Value, clrEnumUnderlyingType, CultureInfo.InvariantCulture)); 1354string scalarTypeName = scalarType.Name;