20 types derived from SchemaElement
System.Data.Entity (20)
System\Data\EntityModel\SchemaObjectModel\Documentation.cs (1)
19internal sealed class DocumentationElement: SchemaElement
System\Data\EntityModel\SchemaObjectModel\EntityContainerEntitySet.cs (1)
20internal sealed class EntityContainerEntitySet : SchemaElement
System\Data\EntityModel\SchemaObjectModel\EntityContainerEntitySetDefiningQuery.cs (1)
19internal sealed class EntityContainerEntitySetDefiningQuery : SchemaElement
System\Data\EntityModel\SchemaObjectModel\EntityContainerRelationshipSet.cs (1)
21internal abstract class EntityContainerRelationshipSet : SchemaElement
System\Data\EntityModel\SchemaObjectModel\EntityContainerRelationshipSetEnd.cs (1)
18internal class EntityContainerRelationshipSetEnd : SchemaElement
System\Data\EntityModel\SchemaObjectModel\EntityKeyElement.cs (1)
22internal sealed class EntityKeyElement : SchemaElement
System\Data\EntityModel\SchemaObjectModel\FacetDescriptionElement.cs (1)
18internal abstract class FacetDescriptionElement : SchemaElement
System\Data\EntityModel\SchemaObjectModel\FacetEnabledSchemaElement.cs (1)
20internal abstract class FacetEnabledSchemaElement : SchemaElement
System\Data\EntityModel\SchemaObjectModel\FunctionCommandText.cs (1)
19internal sealed class FunctionCommandText : SchemaElement
System\Data\EntityModel\SchemaObjectModel\KeyProperty.cs (1)
22internal sealed class PropertyRefElement : SchemaElement
System\Data\EntityModel\SchemaObjectModel\OnOperation.cs (1)
20internal sealed class OnOperation : SchemaElement
System\Data\EntityModel\SchemaObjectModel\Property.cs (1)
25internal abstract class Property : SchemaElement
System\Data\EntityModel\SchemaObjectModel\ReferenceSchema.cs (1)
20internal class UsingElement : SchemaElement
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraint.cs (1)
19internal sealed class ReferentialConstraint : SchemaElement
System\Data\EntityModel\SchemaObjectModel\ReferentialConstraintRoleElement.cs (1)
21internal sealed class ReferentialConstraintRoleElement : SchemaElement
System\Data\EntityModel\SchemaObjectModel\RelationshipEnd.cs (1)
20internal sealed class RelationshipEnd : SchemaElement, IRelationshipEnd
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
29internal class Schema : SchemaElement
System\Data\EntityModel\SchemaObjectModel\SchemaEnumMember.cs (1)
20internal class SchemaEnumMember : SchemaElement
System\Data\EntityModel\SchemaObjectModel\SchemaType.cs (1)
21internal abstract class SchemaType : SchemaElement
System\Data\EntityModel\SchemaObjectModel\TextElement.cs (1)
21internal sealed class TextElement : SchemaElement
120 references to SchemaElement
System.Data.Entity (120)
System\Data\EntityModel\SchemaObjectModel\CollectionTypeElement.cs (2)
33internal CollectionTypeElement(SchemaElement parentElement) 186internal override bool ResolveNameAndSetTypeUsage(Converter.ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems)
System\Data\EntityModel\SchemaObjectModel\Documentation.cs (1)
31public DocumentationElement(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\EntityContainer.cs (12)
28private SchemaElementLookUpTable<SchemaElement> _members; 59SchemaElementLookUpTable<SchemaElement> Members 65_members = new SchemaElementLookUpTable<SchemaElement>(); 80_entitySets = new FilteredSchemaElementLookUpTable<EntityContainerEntitySet, SchemaElement>(Members); 95_relationshipSets = new FilteredSchemaElementLookUpTable<EntityContainerRelationshipSet, SchemaElement>(Members); 110_functionImports = new FilteredSchemaElementLookUpTable<Function, SchemaElement>(Members); 250foreach (SchemaElement element in Members) 263foreach (SchemaElement element in Members) 290foreach (SchemaElement element in this.ExtendingEntityContainer.Members) 299foreach (SchemaElement element in Members) 343private void DuplicateOrEquivalentMemberNameWhileExtendingEntityContainer(SchemaElement schemaElement, 362foreach (SchemaElement element in Members)
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSet.cs (2)
177internal override SchemaElement Clone(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\EntityContainerAssociationSetEnd.cs (2)
172internal override SchemaElement Clone(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\EntityContainerEntitySet.cs (2)
250internal override SchemaElement Clone(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\FacetEnabledSchemaElement.cs (1)
93internal FacetEnabledSchemaElement(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\FilteredSchemaElementLookUpTable.cs (2)
21where S : SchemaElement 63foreach ( SchemaElement element in _lookUpTable )
System\Data\EntityModel\SchemaObjectModel\Function.cs (2)
552internal override SchemaElement Clone(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\FunctionImportElement.cs (5)
113internal void ResolveEntitySet(SchemaElement owner, string unresolvedEntitySet, ref EntityContainerEntitySet entitySet) 176private void ValidateFunctionImportReturnType(SchemaElement owner, SchemaType returnType, CollectionKind returnTypeCollectionKind, EntityContainerEntitySet entitySet, bool entitySetPathDefined) 222private void ValidateFunctionImportReturnType(SchemaElement owner, SchemaType returnType, EntityContainerEntitySet entitySet, bool entitySetPathDefined) 308internal override SchemaElement Clone(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\ISchemaElementLookUpTable.cs (1)
23where T : SchemaElement
System\Data\EntityModel\SchemaObjectModel\ItemType.cs (1)
162_navigationProperties = new FilteredSchemaElementLookUpTable<NavigationProperty, SchemaElement>(NamedMembers);
System\Data\EntityModel\SchemaObjectModel\KeyProperty.cs (1)
33public PropertyRefElement(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\ModelFunctionTypeElement.cs (2)
21internal ModelFunctionTypeElement(SchemaElement parentElement) 31internal abstract bool ResolveNameAndSetTypeUsage(Converter.ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems);
System\Data\EntityModel\SchemaObjectModel\Parameter.cs (3)
134internal override SchemaElement Clone(SchemaElement parentElement) 145internal bool ResolveNestedTypeNames(Converter.ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems)
System\Data\EntityModel\SchemaObjectModel\ReferenceTypeElement.cs (2)
27internal ReferenceTypeElement(SchemaElement parentElement) 74internal override bool ResolveNameAndSetTypeUsage(Converter.ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems)
System\Data\EntityModel\SchemaObjectModel\RelationshipEndCollection.cs (3)
53SchemaElement endElement = end as SchemaElement; 83private bool ValidateUniqueName(SchemaElement end, string name)
System\Data\EntityModel\SchemaObjectModel\ReturnType.cs (4)
99internal override SchemaElement Clone(SchemaElement parentElement) 141internal bool ResolveNestedTypeNames(Converter.ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 399internal override bool ResolveNameAndSetTypeUsage(Converter.ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems)
System\Data\EntityModel\SchemaObjectModel\RowTypeElement.cs (2)
29internal RowTypeElement(SchemaElement parentElement) 122internal override bool ResolveNameAndSetTypeUsage(Converter.ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems)
System\Data\EntityModel\SchemaObjectModel\RowTypePropertyElement.cs (2)
28internal RowTypePropertyElement(SchemaElement parentElement) 193internal override bool ResolveNameAndSetTypeUsage(Converter.ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (4)
408foreach (SchemaElement element in SchemaTypes) 422foreach (SchemaElement element in SchemaTypes) 460foreach (SchemaElement schemaType in this.SchemaTypes) 822internal bool ResolveTypeName(SchemaElement usingElement, string typeName, out SchemaType type)
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (8)
34private SchemaElement _parentElement = null; 106internal SchemaElement ParentElement 225internal void AddError( ErrorCode errorCode, EdmSchemaErrorSeverity severity, SchemaElement element, object message ) 364internal SchemaElement(SchemaElement parentElement) 369for ( SchemaElement element = parentElement; element != null; element = element.ParentElement ) 386internal SchemaElement(SchemaElement parentElement, string name) 530internal virtual SchemaElement Clone(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTable.cs (1)
22where T : SchemaElement
System\Data\EntityModel\SchemaObjectModel\SchemaElementLookUpTableEnumerator.cs (1)
23where S : SchemaElement
System\Data\EntityModel\SchemaObjectModel\SchemaEnumMember.cs (1)
33public SchemaEnumMember(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\StructuredProperty.cs (1)
152internal void EnsureEnumTypeFacets(Converter.ConversionCache convertedItemCache, Dictionary<SchemaElement, GlobalItem> newGlobalItems)
System\Data\EntityModel\SchemaObjectModel\StructuredType.cs (9)
29private SchemaElementLookUpTable<SchemaElement> _namedMembers = null; 63_properties = new FilteredSchemaElementLookUpTable<StructuredProperty, SchemaElement>(NamedMembers); 73protected SchemaElementLookUpTable<SchemaElement> NamedMembers 79_namedMembers = new SchemaElementLookUpTable<SchemaElement>(); 163foreach (SchemaElement member in NamedMembers) 176foreach (SchemaElement member in NamedMembers) 181SchemaElement definingMember; 208protected void AddMember(SchemaElement newMember) 236private HowDefined DefinesMemberName(string name, out StructuredType definingType, out SchemaElement definingMember)
System\Data\EntityModel\SchemaObjectModel\TextElement.cs (1)
32public TextElement(SchemaElement parentElement)
System\Data\EntityModel\SchemaObjectModel\TypeRefElement.cs (2)
28internal TypeRefElement(SchemaElement parentElement) 64internal override bool ResolveNameAndSetTypeUsage(Converter.ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems)
System\Data\EntityModel\SchemaObjectModel\TypeUsageBuilder.cs (16)
31private readonly SchemaElement _element; 41internal TypeUsageBuilder(SchemaElement element) 301if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.NullableFacetName)) 306else if (SchemaElement.CanHandleAttribute(reader, XmlConstants.DefaultValueAttribute)) 311else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.PrecisionFacetName)) 316else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.ScaleFacetName)) 321else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.StoreGeneratedPatternFacetName)) 326else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.ConcurrencyModeFacetName)) 331else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.MaxLengthFacetName)) 336else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.UnicodeFacetName)) 341else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.CollationFacetName)) 346else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.FixedLengthFacetName)) 351else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.NullableFacetName)) 356else if (SchemaElement.CanHandleAttribute(reader, EdmProviderManifest.SridFacetName)) 603SchemaElement.AssertReaderConsidersSchemaInvalid(reader); 624SchemaElement.AssertReaderConsidersSchemaInvalid(reader);
System\Data\EntityModel\SchemaObjectModel\ValidationHelper.cs (4)
32internal static void ValidateFacets(SchemaElement element, SchemaType type, TypeUsageBuilder typeUsageBuilder) 72internal static void ValidateTypeDeclaration(SchemaElement element, SchemaType type, SchemaElement typeSubElement) 94internal static void ValidateRefType(SchemaElement element, SchemaType type)
System\Data\Metadata\Converter.cs (20)
103Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems = new Dictionary<Som.SchemaElement, GlobalItem>(); 112Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems = new Dictionary<Som.SchemaElement, GlobalItem>(); 124ConversionCache convertedItemCache, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 180Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 257Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 318Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 373Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 401Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 448Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 590private static void AddOtherContent(Som.SchemaElement element, MetadataItem item) 611Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 653Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 709Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 786Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 859Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 1043private static EnumType ConvertToEnumType(Som.SchemaEnumType somEnumType, Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems) 1106Som.SchemaElement schemaElement, 1108Dictionary<Som.SchemaElement, GlobalItem> newGlobalItems)