Share via


DataServiceResponsePreference Enum

Definition

Determines whether the client requests that the data service return inserted or updated entity data as an entry in the response message.

public enum DataServiceResponsePreference
type DataServiceResponsePreference = 
Public Enum DataServiceResponsePreference
Inheritance
DataServiceResponsePreference

Fields

Name Value Description
None 0

default option, no Prefer header is sent.

IncludeContent 1

Prefer header with value return=representation is sent with all PUT/PATCH/POST requests to entities.

NoContent 2

Prefer header with value return=minimal is sent with all PUT/PATCH/POST requests to entities.

Applies to