Show / Hide Table of Contents

Class UpsertParams

Settings for upsert

Inheritance
object
UpsertParams
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cognite.Extensions
Assembly: Cognite.Extensions.dll
Syntax
public class UpsertParams

Properties

| Edit this page View Source

ReplaceLabels

Whether to use "Add" or "Set" when adding labels. If true, labels are replaced entirely. Otherwise new labels are only added if they do not exist. If true and no labels are provided, all are removed.

Declaration
public bool ReplaceLabels { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

ReplaceMetadata

Whether to use "Add" or "Set" when creating metadata. If true, metadata is replaced entirely. Otherwise only the provided fields are replaced.

Declaration
public bool ReplaceMetadata { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

ReplaceSecurityCategories

Whether to use "Add" or "Set" when

Declaration
public bool ReplaceSecurityCategories { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

SetNull

Whether to set fields to null if they are not defined. Default is true.

Declaration
public bool SetNull { get; set; }
Property Value
Type Description
bool

Extension Methods

DataModelUtils.GetOrCreateResourcesAsync<T, T2>(T2, IEnumerable<InstanceIdentifier>, Func<IEnumerable<InstanceIdentifier>, IEnumerable<SourcedNodeWrite<T>>>, Func<IEnumerable<SourcedNodeWrite<T>>, SanitationMode, (IEnumerable<SourcedNodeWrite<T>>, IEnumerable<CogniteError<SourcedNodeWrite<T>>>)>, int, int, RetryMode, SanitationMode, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX