DataServiceContext.DataNamespace Property
Definition
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 or sets the XML namespace for data items, not metadata items, of an Atom payload.
public:
property System::String ^ DataNamespace { System::String ^ get(); void set(System::String ^ value); };
public string DataNamespace { get; set; }
member this.DataNamespace : string with get, set
Public Property DataNamespace As String
Property Value
A string representing the XML namespace for data items of a payload in the ATOM format.
Remarks
The default value of this property is the default WCF Data Services namespace: http://schemas.microsoft.com/ado/2007/08/dataservices
.
This property affects both the namespace that is used for parsing content from the data service and the namespace used to generate content sent to the data service.