11 types derived from MetadataItem
System.Data.Entity (11)
System\Data\Metadata\Edm\AssociationSetEnd.cs (1)
20public sealed class AssociationSetEnd : MetadataItem
System\Data\Metadata\Edm\Documentation.cs (1)
23public sealed class Documentation: MetadataItem
System\Data\Metadata\Edm\EdmMember.cs (1)
21public abstract class EdmMember : MetadataItem
System\Data\Metadata\Edm\EntitySetBase.cs (1)
21public abstract class EntitySetBase : MetadataItem
System\Data\Metadata\Edm\EnumMember.cs (1)
21public sealed class EnumMember : MetadataItem
System\Data\Metadata\Edm\Facet.cs (1)
22public sealed class Facet : MetadataItem
System\Data\Metadata\Edm\FunctionParameter.cs (1)
20public sealed class FunctionParameter : MetadataItem
System\Data\Metadata\Edm\GlobalItem.cs (1)
24public abstract class GlobalItem : MetadataItem
System\Data\Metadata\Edm\MetadataProperty.cs (1)
21public sealed class MetadataProperty : MetadataItem
System\Data\Metadata\Edm\ReferentialConstraint.cs (1)
19public sealed class ReferentialConstraint : MetadataItem
System\Data\Metadata\Edm\TypeUsage.cs (1)
22public sealed class TypeUsage : MetadataItem
117 references to MetadataItem
System.Data.Entity (88)
System\Data\EntityClient\EntityProviderServices.cs (2)
86return MetadataItem.EdmProviderManifest.Token; 92return MetadataItem.EdmProviderManifest;
System\Data\EntityModel\SchemaObjectModel\BooleanFacetDescriptionElement.cs (1)
27get { return MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Boolean); }
System\Data\EntityModel\SchemaObjectModel\ByteFacetDescriptionElement.cs (1)
27get { return MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Byte); }
System\Data\EntityModel\SchemaObjectModel\IntegerFacetDescriptionElement.cs (1)
27get { return MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Int32); }
System\Data\EntityModel\SchemaObjectModel\SchemaManager.cs (1)
106delegate(Action<string, ErrorCode, EdmSchemaErrorSeverity> addError) { return providerManifest == null ? MetadataItem.EdmProviderManifest : providerManifest; },
System\Data\EntityModel\SchemaObjectModel\SridFacetDescriptionElement.cs (1)
27get { return MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Int32); }
System\Data\EntityModel\SchemaObjectModel\TypeElement.cs (1)
200_primitiveType.BaseType = MetadataItem.EdmProviderManifest.GetPrimitiveType(_primitiveType.PrimitiveTypeKind);
System\Data\Mapping\Mapping.cs (1)
30internal abstract MetadataItem EdmItem { get; }
System\Data\Mapping\ObjectTypeMapping.cs (1)
78internal override MetadataItem EdmItem {
System\Data\Mapping\StorageEntityContainerMapping.cs (1)
103internal override MetadataItem EdmItem {
System\Data\Mapping\ViewGeneration\QueryRewriting\RoleBoolean.cs (1)
36private readonly MetadataItem m_metadataItem;
System\Data\Metadata\ClrPerspective.cs (1)
154MetadataItem item = map.EdmItem;
System\Data\Metadata\Converter.cs (6)
78MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.String), 177internal static MetadataItem LoadSchemaElement(Som.SchemaType element, 590private static void AddOtherContent(Som.SchemaElement element, MetadataItem item) 1306facets[DbProviderManifest.NullableFacetName] = Facet.Create(MetadataItem.NullableFacetDescription, false); 1312facets[DbProviderManifest.DefaultValueFacetName] = Facet.Create(MetadataItem.DefaultValueFacetDescription, somProperty.DefaultAsObject); 1320Facet newFacet = Facet.Create(MetadataItem.CollectionKindFacetDescription, somProperty.CollectionKind);
System\Data\Metadata\Edm\CollectionType.cs (1)
90internal override bool EdmEquals(MetadataItem item)
System\Data\Metadata\Edm\EdmType.cs (1)
354return MetadataItem.GetGeneralFacetDescriptions();
System\Data\Metadata\Edm\FilteredReadOnlyMetadataCollection.cs (1)
40where TBase : MetadataItem
System\Data\Metadata\Edm\MetadataCollection.cs (1)
26internal class MetadataCollection<T> : IList<T> where T : MetadataItem
System\Data\Metadata\Edm\MetadataItem.cs (1)
141internal virtual bool EdmEquals(MetadataItem item)
System\Data\Metadata\Edm\MetadataItem_Static.cs (5)
298MetadataItem.GetBuiltInType(BuiltInTypeKind.EdmType), 306MetadataItem.GetBuiltInType(BuiltInTypeKind.EnumType), 317TypeUsage edmTypeUsage = TypeUsage.Create(MetadataItem.GetBuiltInType(BuiltInTypeKind.EdmType)); 318TypeUsage typeUsageTypeUsage = TypeUsage.Create(MetadataItem.GetBuiltInType(BuiltInTypeKind.TypeUsage)); 319TypeUsage complexTypeUsage = TypeUsage.Create(MetadataItem.GetBuiltInType(BuiltInTypeKind.ComplexType));
System\Data\Metadata\Edm\MetadataPropertyAttribute.cs (2)
29: this(MetadataItem.GetBuiltInType(builtInTypeKind), isCollectionType) 39: this(MetadataItem.EdmProviderManifest.GetPrimitiveType(primitiveTypeKind), isCollectionType)
System\Data\Metadata\Edm\MetadataPropertyCollection.cs (4)
29internal MetadataPropertyCollection(MetadataItem item) 38private static IEnumerable<MetadataProperty> GetSystemMetadataProperties(MetadataItem item) 72internal IEnumerable<MetadataProperty> GetItemAttributes(MetadataItem item) 126internal MetadataProperty GetMetadataProperty(MetadataItem item)
System\Data\Metadata\Edm\MetadataPropertyvalue.cs (2)
25internal MetadataPropertyValue(PropertyInfo propertyInfo, MetadataItem item) 34private MetadataItem _item;
System\Data\Metadata\Edm\PrimitiveType.cs (2)
240return MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind); 255return MetadataItem.EdmProviderManifest.GetPrimitiveType(primitiveTypeKind);
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (1)
238PrimitiveType baseType = MetadataItem.EdmProviderManifest.GetPrimitiveType(primitiveTypeKind);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (14)
356MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Int32), 361MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Boolean), 366MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Boolean), 379MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Int32), 384MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Boolean), 396MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Byte), 406MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Byte), 415MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Byte), 425MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Byte), 430MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Byte), 448MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Int32), 453MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Boolean), 471MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Int32), 476MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.Boolean),
System\Data\Metadata\Edm\ReadOnlyMetadataCollection.cs (1)
19public class ReadOnlyMetadataCollection<T> : System.Collections.ObjectModel.ReadOnlyCollection<T> where T : MetadataItem
System\Data\Metadata\Edm\RowType.cs (1)
198internal override bool EdmEquals(MetadataItem item)
System\Data\Metadata\Edm\SafeLinkCollection.cs (1)
25internal class SafeLinkCollection<TParent, TChild> : ReadOnlyMetadataCollection<TChild> where TChild : MetadataItem where TParent : class
System\Data\Metadata\Edm\TypeUsage.cs (1)
602internal override bool EdmEquals(MetadataItem item)
System\Data\Metadata\Edm\util.cs (2)
29internal static void ThrowIfReadOnly(MetadataItem item) 44internal static void AssertItemHasIdentity(MetadataItem item, string argumentName)
System\Data\Metadata\EdmItemCollection.cs (3)
70LoadItems(MetadataItem.EdmProviderManifest, schemas, this); 166MetadataItem.EdmProviderManifest, this, throwOnError); 237if (manifest == MetadataItem.EdmProviderManifest)
System\Data\Metadata\EdmItemError.cs (2)
27public EdmItemError(string message, MetadataItem item) 36private MetadataItem _item; //Metadata item for which the error is being reported
System\Data\Metadata\EdmValidator.cs (22)
100HashSet<MetadataItem> validatedItems = new HashSet<MetadataItem>(); 102foreach (MetadataItem item in items) 137protected virtual IEnumerable<EdmItemError> CustomValidate(MetadataItem item) 148private void InternalValidate(MetadataItem item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 232private void ValidateCollectionType(CollectionType item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 259private void ValidateComplexType(ComplexType item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 270private void ValidateEdmType(EdmType item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 300private void ValidateEntityType(EntityType item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 333private void ValidateFacet(Facet item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 360private void ValidateItem(MetadataItem item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 379private void ValidateEdmMember(EdmMember item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 414private void ValidateMetadataProperty(MetadataProperty item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 444private void ValidateNavigationProperty(NavigationProperty item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 456private void ValidatePrimitiveType(PrimitiveType item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 467private void ValidateEdmProperty(EdmProperty item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 478private void ValidateRefType(RefType item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 505private void ValidateSimpleType(SimpleType item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 516private void ValidateStructuralType(StructuralType item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems) 545private void ValidateTypeUsage(TypeUsage item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems)
System\Data\Query\InternalTrees\ColumnMapFactory.cs (1)
296MetadataItem.EdmProviderManifest.GetPrimitiveType(PrimitiveTypeKind.String);
System.Data.Entity.Design (16)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (4)
29public static readonly EdmType NoSpecificTypeSentinal = MetadataItem.GetBuiltInType(BuiltInTypeKind.EdmType); 44public class ErrorsLookup : Dictionary<MetadataItem, List<EdmSchemaError>> { } 121if (EdmItemCollection.IsSystemNamespace(MetadataItem.EdmProviderManifest, namespaceToWrite)) 764private void WriteExtendedPropertyAttributes(MetadataItem item)
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
44public static void EmitSummaryComments(MetadataItem item, CodeCommentStatementCollection commentCollection) 100private static Documentation GetDocumentation(MetadataItem item)
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (5)
20private MetadataItem _item; 22protected MetadataItemEmitter(ClientApiGenerator generator, MetadataItem item) 29protected MetadataItem Item 110protected static TypeAttributes GetTypeAccessibilityValue(MetadataItem item) 123private static MemberAttributes GetAccessibilityValue(MetadataItem item, string attribute)
System\Data\EntityModel\Emitters\PropertyEmitterBase.cs (1)
23protected PropertyEmitterBase(ClientApiGenerator generator, MetadataItem item, bool declaringTypeUsesStandardBaseType)
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (1)
39protected SchemaTypeEmitter(ClientApiGenerator generator, MetadataItem item)
System\Data\EntityModel\PropertyGeneratedEventArgs.cs (3)
26private MetadataItem _propertySource; 50public PropertyGeneratedEventArgs(MetadataItem propertySource, 66public MetadataItem PropertySource
System.Data.Services.Design (13)
System\Data\EntityModel\Emitters\ClientApiGenerator.cs (1)
700private static string Identity(MetadataItem item)
System\Data\EntityModel\Emitters\CommentEmitter.cs (2)
37public static void EmitSummaryComments(MetadataItem item, CodeCommentStatementCollection commentCollection) 93private static Documentation GetDocumentation(MetadataItem item)
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (5)
18private MetadataItem _item; 20protected MetadataItemEmitter(ClientApiGenerator generator, MetadataItem item) 27protected MetadataItem Item 103protected static TypeAttributes GetTypeAccessibilityValue(MetadataItem item) 116private static MemberAttributes GetAccessibilityValue(MetadataItem item, string attribute)
System\Data\EntityModel\Emitters\PropertyEmitterBase.cs (1)
20protected PropertyEmitterBase(ClientApiGenerator generator, MetadataItem item, bool declaringTypeUsesStandardBaseType)
System\Data\EntityModel\Emitters\SchemaTypeEmitter.cs (1)
32protected SchemaTypeEmitter(ClientApiGenerator generator, MetadataItem item)
System\Data\EntityModel\PropertyGeneratedEventArgs.cs (3)
23private MetadataItem _propertySource; 49public PropertyGeneratedEventArgs(MetadataItem propertySource, 65public MetadataItem PropertySource