Table of Contents

Class UpsertRequest

Namespace
NetCoreForce.Client.Models
Assembly
NetCoreForce.Client.dll
public class UpsertRequest
Inheritance
UpsertRequest
Inherited Members

Constructors

UpsertRequest(List<SObject>, bool)

Constructor

public UpsertRequest(List<SObject> records, bool allOrNone = false)

Parameters

records List<SObject>
allOrNone bool

Properties

AllOrNone

Optional. Indicates whether to roll back the entire request when the update of any object fails (true) or to continue with the independent update of other objects in the request. The default is false.

[JsonProperty(PropertyName = "allOrNone")]
public bool AllOrNone { get; set; }

Property Value

bool

Records

Required. A list of sObjects. In a POST request using sObject Collections, set the type attribute for each object, but don’t set the id field for any object.

[JsonProperty(PropertyName = "records")]
public List<SObject> Records { get; set; }

Property Value

List<SObject>