Export (0) Print
Expand All

EntityPropertyMappingAttribute Constructor (String, SyndicationItemProperty, SyndicationTextContentKind, Boolean)

Creates a new instance of the EntityPropertyMappingAttribute.

Namespace:  System.Data.Services.Common
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

public EntityPropertyMappingAttribute(
	string sourcePath,
	SyndicationItemProperty targetSyndicationItem,
	SyndicationTextContentKind targetTextContentKind,
	bool keepInContent
)

Parameters

sourcePath
Type: System.String
The name of the property, as string, of the entity type that is mapped to the specified property of the AtomPub feed item.
targetSyndicationItem
Type: System.Data.Services.Common.SyndicationItemProperty
A SyndicationItemProperty value that represents the element in the feed to which to map the property. This value must be set to None if the TargetName is not null.
targetTextContentKind
Type: System.Data.Services.Common.SyndicationTextContentKind
A TargetTextContentKind value that identifies the format of the content to display in the feed.
keepInContent
Type: System.Boolean
A Boolean value that is true when the property being mapped should appear both in its mapped-to location and in the content section of the feed.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2015 Microsoft