EntityPropertyMappingAttribute.KeepInContent Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a Boolean value that indicates whether a property value should be repeated both in the content section of the feed and in the mapped location.
public:
property bool KeepInContent { bool get(); };
public bool KeepInContent { get; }
member this.KeepInContent : bool
Public ReadOnly Property KeepInContent As Boolean
A Boolean value that is true
when the property is mapped into both locations in the feed; otherwise, false
.
When the value of KeepInContent is true
, the feed is backward compatible with WCF Data Services client applications that use protocol version 1.0. When the value of KeepInContent is false
, the protocol version used by the data service must be 2.0 or later versions. For more information, see Data Service Versioning.
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: