Table of Contents

Method InsertItemsAsync

Namespace
Kepware.Api.ClientHandler
Assembly
Kepware.Api.dll

InsertItemsAsync<T, K>(List<K>, int, NamedEntity?, CancellationToken)

Inserts a list of items in the Kepware server.

public Task<bool[]> InsertItemsAsync<T, K>(List<K> items, int pageSize = 10, NamedEntity? owner = null, CancellationToken cancellationToken = default) where T : EntityCollection<K> where K : NamedEntity, new()

Parameters

items List<K>
pageSize int
owner NamedEntity
cancellationToken CancellationToken

Returns

Task<bool[]>

Type Parameters

T
K