Επεξεργασία

Κοινή χρήση μέσω


DataServiceContext.DataNamespace Property

Definition

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.

Applies to