DataServiceContext.AddAndUpdateResponsePreference 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 whether the client requests that the data service return entity data in the response message to a change request.
public virtual Microsoft.OData.Client.DataServiceResponsePreference AddAndUpdateResponsePreference { get; set; }
member this.AddAndUpdateResponsePreference : Microsoft.OData.Client.DataServiceResponsePreference with get, set
Public Overridable Property AddAndUpdateResponsePreference As DataServiceResponsePreference
Property Value
A DataServiceResponsePreference object that determines whether to request a response form the data service.
Remarks
Whether POST/PUT/PATCH requests will process response from the server. Corresponds to Prefer header in HTTP POST/PUT/PATCH request.