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