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