Show / Hide Table of Contents

Class SequenceRowError

Contains information about skipped rows per sequence in a row insert request

Inheritance
object
SequenceRowError
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 SequenceRowError

Constructors

| Edit this page View Source

SequenceRowError(IEnumerable<SequenceRow>, Identity)

Constructor for skipped rows

Declaration
public SequenceRowError(IEnumerable<SequenceRow> skippedRows, Identity id)
Parameters
Type Name Description
IEnumerable<SequenceRow> skippedRows

Rows skipped due to this error

Identity id

Id of offending sequence

| Edit this page View Source

SequenceRowError(IEnumerable<SequenceRow>, IEnumerable<string>, Identity)

Constructor for missing columns

Declaration
public SequenceRowError(IEnumerable<SequenceRow> skippedRows, IEnumerable<string> badColumns, Identity id)
Parameters
Type Name Description
IEnumerable<SequenceRow> skippedRows

Rows skipped due to this error

IEnumerable<string> badColumns

Bad columns

Identity id

Id of offending sequence

Properties

| Edit this page View Source

BadColumns

Missing columns, if any

Declaration
public IEnumerable<string>? BadColumns { get; }
Property Value
Type Description
IEnumerable<string>
| Edit this page View Source

Id

Id of sequence

Declaration
public Identity Id { get; }
Property Value
Type Description
Identity
| Edit this page View Source

SkippedRows

Bad rows

Declaration
public IEnumerable<SequenceRow> SkippedRows { get; }
Property Value
Type Description
IEnumerable<SequenceRow>

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