47 references to MetadataProperties
System.Data.Entity (3)
System\Data\Common\Utils\MetadataHelper.cs (1)
301if (function.MetadataProperties.TryGetValue("IsComposableAttribute", false, out isComposableProperty))
System\Data\Metadata\Edm\MetadataItem.cs (1)
193this.MetadataProperties.Source.AtomicAddRange(metadataProperties);
System\Data\Metadata\EdmValidator.cs (1)
366foreach (MetadataProperty itemAttribute in item.MetadataProperties)
System.Data.Entity.Design (10)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (8)
433if (_isModel && member.MetadataProperties.Contains(DesignXmlConstants.EdmAnnotationNamespace + ":" + DesignXmlConstants.StoreGeneratedPattern)) 440member.MetadataProperties[DesignXmlConstants.EdmAnnotationNamespace + ":" + DesignXmlConstants.StoreGeneratedPattern].Value)); 676if (_isModel && container.MetadataProperties.Contains(DesignXmlConstants.EdmAnnotationNamespace + ":" + DesignXmlConstants.LazyLoadingEnabled)) 683container.MetadataProperties[DesignXmlConstants.EdmAnnotationNamespace + ":" + DesignXmlConstants.LazyLoadingEnabled].Value)); 738if (entitySet.MetadataProperties.TryGetValue(XmlConstants.DefiningQuery, false, out property) && 747if (entitySet.MetadataProperties.TryGetValue(XmlConstants.Schema, false, out property) && 753if (entitySet.MetadataProperties.TryGetValue(XmlConstants.Table, false, out property) && 766foreach (MetadataProperty property in item.MetadataProperties.Where(p => p.PropertyKind == PropertyKind.Extended))
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (2)
114if (item.MetadataProperties.TryGetValue(Utils.GetFullyQualifiedCodeGenerationAttributeName(XmlConstants.TypeAccess), false, out metadataProperty)) 127if (item.MetadataProperties.TryGetValue(Utils.GetFullyQualifiedCodeGenerationAttributeName(attribute), false, out metadataProperty))
System.Data.Services (25)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (25)
1140if (type.MetadataProperties.TryGetValue(HasStreamAttribute, false /* ignoreCase */, out property)) 1167if (csdlMember.MetadataProperties.TryGetValue(MimePropertyName, false /* ignoreCase */, out property)) 1749WriteUserDefinedAnnotations(xmlWriter, member.MetadataProperties, false /*writeCustomElements*/); 1750WriteUserDefinedAnnotations(xmlWriter, member.MetadataProperties, true /*writeCustomElements*/); 1767WriteUserDefinedAnnotations(xmlWriter, associationSet.MetadataProperties, false /*writeCustomElements*/); 1775WriteUserDefinedAnnotations(xmlWriter, associationSet.AssociationSetEnds[i].MetadataProperties, false /*writeCustomElements*/); 1776WriteUserDefinedAnnotations(xmlWriter, associationSet.AssociationSetEnds[i].MetadataProperties, true /*writeCustomElements*/); 1780WriteUserDefinedAnnotations(xmlWriter, associationSet.MetadataProperties, true /*writeCustomElements*/); 1796WriteUserDefinedAnnotations(xmlWriter, entitySet.MetadataProperties, false /*writeCustomElements*/); 1797WriteUserDefinedAnnotations(xmlWriter, entitySet.MetadataProperties, true /*writeCustomElements*/); 1850WriteUserDefinedAnnotations(xmlWriter, entityType.MetadataProperties, false /*writeCustomElements*/); 1855WriteUserDefinedAnnotations(xmlWriter, entityType.MetadataProperties, false /*writeCustomElements*/); 1870WriteUserDefinedAnnotations(xmlWriter, entityType.MetadataProperties, true /*writeCustomElements*/); 1886WriteUserDefinedAnnotations(xmlWriter, complexType.MetadataProperties, false /*writeCustomElements*/); 1890WriteUserDefinedAnnotations(xmlWriter, complexType.MetadataProperties, true /*writeCustomElements*/); 1905WriteUserDefinedAnnotations(xmlWriter, associationType.MetadataProperties, false /*writeCustomElements*/); 1919WriteUserDefinedAnnotations(xmlWriter, end.MetadataProperties, false /*writeCustomElements*/); 1929WriteUserDefinedAnnotations(xmlWriter, end.MetadataProperties, true /*writeCustomElements*/); 1938WriteUserDefinedAnnotations(xmlWriter, referentialConstraint.MetadataProperties, false /*writeCustomElements*/); 1941WriteUserDefinedAnnotations(xmlWriter, referentialConstraint.MetadataProperties, true /*writeCustomElements*/); 1945WriteUserDefinedAnnotations(xmlWriter, associationType.MetadataProperties, true /*writeCustomElements*/); 1970WriteUserDefinedAnnotations(xmlWriter, container.MetadataProperties, false /*writeCustomElements*/); 1996WriteUserDefinedAnnotations(xmlWriter, container.MetadataProperties, true /*writeCustomElements*/); 2096IEnumerable<MetadataProperty> extendedProperties = edmType.MetadataProperties.Where(mp => mp.PropertyKind == PropertyKind.Extended); 2120IEnumerable<MetadataProperty> extendedMemberProperties = member.MetadataProperties.Where(mdp => mdp.PropertyKind == PropertyKind.Extended);
System.Data.Services.Design (7)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (4)
200MetadataProperty isOpenTypeProperty = entityType.MetadataProperties.FirstOrDefault(x => x.Name == System.Data.Services.XmlConstants.EdmV1dot2Namespace + ":" + System.Data.Services.XmlConstants.DataWebOpenTypeAttributeName); 358IEnumerable<MetadataProperty> extendedProperties = entityType.MetadataProperties.Where(mp => mp.PropertyKind == PropertyKind.Extended); 390IEnumerable<MetadataProperty> extendedMemberProperties = member.MetadataProperties.Where(mdp => mdp.PropertyKind == PropertyKind.Extended); 522entityType.MetadataProperties.Where(mp => mp.PropertyKind == PropertyKind.Extended &&
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (2)
107if (item.MetadataProperties.TryGetValue(Utils.GetFullyQualifiedCodeGenerationAttributeName(XmlConstants.TypeAccess), false, out metadataProperty)) 120if (item.MetadataProperties.TryGetValue(Utils.GetFullyQualifiedCodeGenerationAttributeName(attribute), false, out metadataProperty))
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
243if (container.MetadataProperties.TryGetValue("http://schemas.microsoft.com/ado/2007/08/dataservices/metadata:IsDefaultEntityContainer", false, out prop))
System.Web.DynamicData (2)
DynamicData\ModelProviders\EFAssociationProvider.cs (1)
31EntityType value = (EntityType)navigationProperty.ToEndMember.TypeUsage.EdmType.MetadataProperties.Single(prop => prop.Name == "ElementType").Value;
DynamicData\ModelProviders\EFColumnProvider.cs (1)
55if (property.MetadataProperties.TryGetValue(StoreGeneratedMetadata, false, out generated)) {