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