Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataServiceContext.DataNamespace Property

Gets or sets the XML namespace for data items, not metadata items, of an Atom payload.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)
public string DataNamespace { get; set; }

Property Value

Type: System.String
A string representing the XML namespace for data items of a payload in the ATOM format.

The default value of this property is the default ADO.NET 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.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.