3 instantiations of MetadataProperty
System.Data.Entity (3)
System\Data\EntityModel\SchemaObjectModel\Schema.cs (1)
575
_schemaSourceProperty = new
MetadataProperty
("SchemaSource",
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (1)
724
property = new
MetadataProperty
(xmlNamespaceUri + ":" + artifactName,
System\Data\Metadata\Edm\MetadataPropertyCollection.cs (1)
128
return new
MetadataProperty
(_propertyInfo.Name, _attribute.Type, _attribute.IsCollectionType,
77 references to MetadataProperty
System.Data.Entity (21)
System\Data\Common\Utils\MetadataHelper.cs (1)
300
MetadataProperty
isComposableProperty;
System\Data\EntityModel\SchemaObjectModel\Schema.cs (2)
567
private
MetadataProperty
_schemaSourceProperty;
568
internal
MetadataProperty
SchemaSource
System\Data\EntityModel\SchemaObjectModel\SchemaElement.cs (6)
41
private List<
MetadataProperty
> _otherContent;
156
public List<
MetadataProperty
> OtherContent
162
_otherContent = new List<
MetadataProperty
>();
656
MetadataProperty
property;
721
internal static
MetadataProperty
CreateMetadataPropertyFromOtherNamespaceXmlArtifact(string xmlNamespaceUri, string artifactName, object value)
723
MetadataProperty
property;
System\Data\Metadata\Edm\MetadataItem.cs (5)
69
private MetadataCollection<
MetadataProperty
> _itemAttributes;
87
public ReadOnlyMetadataCollection<
MetadataProperty
> MetadataProperties
98
System.Threading.Interlocked.CompareExchange<MetadataCollection<
MetadataProperty
>>(
108
internal MetadataCollection<
MetadataProperty
> RawMetadataProperties
191
internal void AddMetadataProperties(List<
MetadataProperty
> metadataProperties)
System\Data\Metadata\Edm\MetadataPropertyCollection.cs (4)
23
internal sealed class MetadataPropertyCollection : MetadataCollection<
MetadataProperty
>
38
private static IEnumerable<
MetadataProperty
> GetSystemMetadataProperties(MetadataItem item)
72
internal IEnumerable<
MetadataProperty
> GetItemAttributes(MetadataItem item)
126
internal
MetadataProperty
GetMetadataProperty(MetadataItem item)
System\Data\Metadata\EdmValidator.cs (3)
183
ValidateMetadataProperty((
MetadataProperty
)item, errors, validatedItems);
366
foreach (
MetadataProperty
itemAttribute in item.MetadataProperties)
414
private void ValidateMetadataProperty(
MetadataProperty
item, List<EdmItemError> errors, HashSet<MetadataItem> validatedItems)
System.Data.Entity.Design (13)
System\Data\Entity\Design\Common\MetadataItemSerializer.cs (2)
737
MetadataProperty
property;
766
foreach (
MetadataProperty
property in item.MetadataProperties.Where(p => p.PropertyKind == PropertyKind.Extended))
System\Data\Entity\Design\EntityModelSchemaGenerator.cs (4)
398
MetadataProperty
lazyLoadingAttribute =
407
modelEntityContainer.AddMetadataProperties(new List<
MetadataProperty
>() { lazyLoadingAttribute });
821
List<
MetadataProperty
> annotation = new List<
MetadataProperty
>();
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (5)
493
MetadataProperty
property = System.Data.EntityModel.SchemaObjectModel.SchemaElement.CreateMetadataPropertyFromOtherNamespaceXmlArtifact(DesignXmlConstants.EntityStoreSchemaGeneratorNamespace, DesignXmlConstants.EntityStoreSchemaGeneratorTypeAttributeName, GetSourceNameFromObjectType(key.ObjectType));
494
List<
MetadataProperty
> properties = new List<
MetadataProperty
>();
1528
List<
MetadataProperty
> properties = new List<
MetadataProperty
>();
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (2)
113
MetadataProperty
metadataProperty;
126
MetadataProperty
metadataProperty;
System.Data.Services (21)
System\Data\Services\Epm\EpmHelper.cs (12)
59
private static IEnumerable<EpmPropertyInformation> GetEpmPropertyInformation(IEnumerable<
MetadataProperty
> extendedProperties, String typeName, String memberName)
68
MetadataProperty
epmTargetPathProperty = FindSingletonExtendedProperty(
79
MetadataProperty
epmKeepInContentProperty = FindSingletonExtendedProperty(
94
MetadataProperty
epmSourcePathProperty = FindSingletonExtendedProperty(
121
MetadataProperty
epmContentKindProperty = FindSingletonExtendedProperty(
127
MetadataProperty
epmNsPrefixProperty = FindSingletonExtendedProperty(
133
MetadataProperty
epmNsUriProperty = FindSingletonExtendedProperty(
214
private static
MetadataProperty
FindSingletonExtendedProperty(IEnumerable<
MetadataProperty
> metadataExtendedProperties, String propertyName, String typeName, String memberName)
217
IEnumerable<
MetadataProperty
> result = metadataExtendedProperties.Where(mdp => mdp.Name == extendedPropertyName);
219
MetadataProperty
property = null;
220
foreach (
MetadataProperty
p in result)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (9)
1139
MetadataProperty
property;
1166
MetadataProperty
property;
1454
private static
MetadataProperty
GetNonSyndicationExtendedProperty(
1455
IEnumerable<
MetadataProperty
> metadataExtendedProperties,
1461
MetadataProperty
epmProperty = FindSingletonExtendedProperty(metadataExtendedProperties, epmPropertyName, typeName, memberName);
1605
ReadOnlyMetadataCollection<
MetadataProperty
> metadataProperties,
1615
foreach (
MetadataProperty
metadataProperty in metadataProperties)
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 (21)
parent\Server\System\Data\Services\Epm\EpmHelper.cs (12)
59
private static IEnumerable<EpmPropertyInformation> GetEpmPropertyInformation(IEnumerable<
MetadataProperty
> extendedProperties, String typeName, String memberName)
68
MetadataProperty
epmTargetPathProperty = FindSingletonExtendedProperty(
79
MetadataProperty
epmKeepInContentProperty = FindSingletonExtendedProperty(
94
MetadataProperty
epmSourcePathProperty = FindSingletonExtendedProperty(
121
MetadataProperty
epmContentKindProperty = FindSingletonExtendedProperty(
127
MetadataProperty
epmNsPrefixProperty = FindSingletonExtendedProperty(
133
MetadataProperty
epmNsUriProperty = FindSingletonExtendedProperty(
214
private static
MetadataProperty
FindSingletonExtendedProperty(IEnumerable<
MetadataProperty
> metadataExtendedProperties, String propertyName, String typeName, String memberName)
217
IEnumerable<
MetadataProperty
> result = metadataExtendedProperties.Where(mdp => mdp.Name == extendedPropertyName);
219
MetadataProperty
property = null;
220
foreach (
MetadataProperty
p in result)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (6)
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);
521
IEnumerable<
MetadataProperty
> hasStreamMetadataProperties =
524
MetadataProperty
hasStreamMetadataProperty = null;
525
foreach (
MetadataProperty
p in hasStreamMetadataProperties)
System\Data\EntityModel\Emitters\MetadataItemEmitter.cs (2)
106
MetadataProperty
metadataProperty;
119
MetadataProperty
metadataProperty;
System\Data\EntityModel\Emitters\NamespaceEmitter.cs (1)
242
MetadataProperty
prop;
System.Web.DynamicData (1)
DynamicData\ModelProviders\EFColumnProvider.cs (1)
54
MetadataProperty
generated;