System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (8)
73PropertyRefElement property = new PropertyRefElement((SchemaEntityType)ParentElement);
86if (!property.ResolveNames((SchemaEntityType)this.ParentElement))
88AddError(ErrorCode.InvalidKey, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.InvalidKeyNoProperty(this.ParentElement.FQName, property.Name));
109System.Data.Entity.Strings.DuplicatePropertyNameSpecifiedInEntityKey(this.ParentElement.FQName, property.Name));
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,