16 references to ParentElement
System.Data.Entity (16)
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (10)
232if (this.ParentElement.IsComposable && this.ParentElement.IsFunctionImport) 239if (this.ParentElement.IsComposable && this.ParentElement.IsFunctionImport) 260this.ParentElement.Parameters.Count, // indexed at 0 to be similar to the old exception 261this.ParentElement.Name, 262this.ParentElement.ParentElement.FQName, 376bool collectionAllowed = this.ParentElement.IsAggregate; 396System.Data.Entity.Strings.FunctionWithNonEdmPrimitiveTypeNotSupported(typeName, this.ParentElement.FQName)); 403System.Data.Entity.Strings.FunctionWithNonPrimitiveTypeNotSupported(typeName, this.ParentElement.FQName));
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (6)
281Debug.Assert(!this.ParentElement.IsFunctionImport, "FunctionImports can't have sub elements in their return types, so we should NEVER see them here"); 285if (this.ParentElement.IsFunctionImport && _unresolvedEntitySet != null) 287((FunctionImportElement)this.ParentElement).ResolveEntitySet(this, _unresolvedEntitySet, ref _entitySet); 325System.Data.Entity.Strings.FunctionWithNonEdmPrimitiveTypeNotSupported(typeName, this.ParentElement.FQName)); 341System.Data.Entity.Strings.FunctionWithNonPrimitiveTypeNotSupported(_isRefType ? _unresolvedType : _type.FQName, this.ParentElement.FQName)); 354System.Data.Entity.Strings.FunctionWithNonPrimitiveTypeNotSupported(_typeSubElement.FQName, this.ParentElement.FQName));