6 instantiations of EntityPropertyMappingAttribute
System.Data.Services (3)
System\Data\Services\Providers\ObjectContextServiceProvider.cs (3)
2164
EntityPropertyMappingAttribute epmAttr = new
EntityPropertyMappingAttribute
(
2190
EntityPropertyMappingAttribute epmAttr = new
EntityPropertyMappingAttribute
(
2268
yield return new
EntityPropertyMappingAttribute
(
System.Data.Services.Design (3)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (3)
339
yield return new
EntityPropertyMappingAttribute
(
444
EntityPropertyMappingAttribute epmAttr = new
EntityPropertyMappingAttribute
(
470
EntityPropertyMappingAttribute epmAttr = new
EntityPropertyMappingAttribute
(
52 references to EntityPropertyMappingAttribute
System.Data.Services (31)
System\Data\Services\Providers\EntityPropertyMappingInfo.cs (7)
37
private readonly
EntityPropertyMappingAttribute
attribute;
64
/// <param name="attribute">The <see cref="
EntityPropertyMappingAttribute
"/> corresponding to this object</param>
65
/// <param name="definingType">Type the <see cref="
EntityPropertyMappingAttribute
"/> was defined on.</param>
68
public EntityPropertyMappingInfo(
EntityPropertyMappingAttribute
attribute, ResourceType definingType, ResourceType actualPropertyType, bool isEFProvider)
94
/// The <see cref="
EntityPropertyMappingAttribute
"/> corresponding to this object
96
public
EntityPropertyMappingAttribute
Attribute
102
/// Type that has the <see cref="
EntityPropertyMappingAttribute
"/>
System\Data\Services\Providers\ObjectContextServiceProvider.cs (5)
2164
EntityPropertyMappingAttribute
epmAttr = new EntityPropertyMappingAttribute(
2177
foreach (
EntityPropertyMappingAttribute
epmAttr in this.GetEpmAttrsFromComplexProperty(
2190
EntityPropertyMappingAttribute
epmAttr = new EntityPropertyMappingAttribute(
2246
private IEnumerable<
EntityPropertyMappingAttribute
> GetEpmAttrsFromComplexProperty(
2261
foreach (
EntityPropertyMappingAttribute
epmAttr in this.GetEpmAttrsFromComplexProperty(subProperty, sourcePath, targetPath, epmNsPrefix, epmNsUri, epmKeepInContent))
System\Data\Services\Providers\ResourceType.cs (17)
539
internal IList<
EntityPropertyMappingAttribute
> InheritedEpmInfo
549
internal IList<
EntityPropertyMappingAttribute
> OwnEpmInfo
559
internal IEnumerable<
EntityPropertyMappingAttribute
> AllEpmInfo
609
/// Adds an <see cref="
EntityPropertyMappingAttribute
"/> for the resource type.
611
/// <param name="attribute">Given <see cref="
EntityPropertyMappingAttribute
"/></param>
612
public void AddEntityPropertyMappingAttribute(
EntityPropertyMappingAttribute
attribute)
707
foreach (
EntityPropertyMappingAttribute
epmAttr in currentResourceType.InstanceType.GetCustomAttributes(typeof(
EntityPropertyMappingAttribute
), currentResourceType.BaseType != null ? false : true))
732
internal void BuildEpmInfo(
EntityPropertyMappingAttribute
epmAttr, ResourceType definingType, bool isEFProvider)
1135
foreach (
EntityPropertyMappingAttribute
epmAttr in currentResourceType.AllEpmInfo.ToList())
1160
private bool PropertyExistsInCurrentType(
EntityPropertyMappingAttribute
epmAttr)
1282
private List<
EntityPropertyMappingAttribute
> inheritedEpmInfo;
1285
private List<
EntityPropertyMappingAttribute
> ownEpmInfo;
1316
internal List<
EntityPropertyMappingAttribute
> InheritedEpmInfo
1322
this.inheritedEpmInfo = new List<
EntityPropertyMappingAttribute
>();
1330
internal List<
EntityPropertyMappingAttribute
> OwnEpmInfo
1336
this.ownEpmInfo = new List<
EntityPropertyMappingAttribute
>();
System\Data\Services\Serializers\MetadataSerializer.cs (2)
380
private static void WriteEpmProperties(XmlWriter xmlWriter, IEnumerable<
EntityPropertyMappingAttribute
> epmInfos, bool skipSourcePath, bool removePrefix)
384
foreach (
EntityPropertyMappingAttribute
attr in epmInfos)
System.Data.Services.Client (15)
parent\Server\System\Data\Services\Providers\EntityPropertyMappingInfo.cs (7)
37
private readonly
EntityPropertyMappingAttribute
attribute;
75
/// <param name="attribute">The <see cref="
EntityPropertyMappingAttribute
"/> corresponding to this object</param>
76
/// <param name="definingType">Type the <see cref="
EntityPropertyMappingAttribute
"/> was defined on.</param>
78
public EntityPropertyMappingInfo(
EntityPropertyMappingAttribute
attribute, Type definingType, ClientType actualPropertyType)
94
/// The <see cref="
EntityPropertyMappingAttribute
"/> corresponding to this object
96
public
EntityPropertyMappingAttribute
Attribute
102
/// Type that has the <see cref="
EntityPropertyMappingAttribute
"/>
System\Data\Services\Client\ClientType.cs (5)
318
/// Source tree for <see cref="
EntityPropertyMappingAttribute
"/>s on this type
335
/// Target tree for <see cref="
EntityPropertyMappingAttribute
"/>s on this type
720
foreach (
EntityPropertyMappingAttribute
epmAttr in type.GetCustomAttributes(typeof(
EntityPropertyMappingAttribute
), false))
732
private void BuildEpmInfo(
EntityPropertyMappingAttribute
epmAttr, Type definingType)
System\Data\Services\Client\EntityPropertyMappingAttribute.cs (3)
18
/// List of syndication properties settable through <see cref="
EntityPropertyMappingAttribute
"/>
197
this.targetNamespacePrefix =
EntityPropertyMappingAttribute
.AtomNamespacePrefix;
319
/// the <see cref="
EntityPropertyMappingAttribute
"/> contstructor</param>
System.Data.Services.Design (6)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (6)
309
private static IEnumerable<
EntityPropertyMappingAttribute
> GetEpmAttrsFromComplexProperty(
332
foreach (
EntityPropertyMappingAttribute
epmAttr in GetEpmAttrsFromComplexProperty(subProperty, sourcePath, targetPath, epmNsPrefix, epmNsUri, epmKeepContent))
444
EntityPropertyMappingAttribute
epmAttr = new EntityPropertyMappingAttribute(
457
foreach (
EntityPropertyMappingAttribute
epmAttr in GetEpmAttrsFromComplexProperty(
470
EntityPropertyMappingAttribute
epmAttr = new EntityPropertyMappingAttribute(
485
private void AddEpmAttributeToTypeDeclaration(
EntityPropertyMappingAttribute
epmAttr, CodeTypeDeclaration typeDecl)