Table of Contents

Method DeleteRows

Namespace
Skyline.DataMiner.Utils.Protocol.Extension
Assembly
Skyline.DataMiner.Utils.Protocol.Extension.dll

DeleteRows(SLProtocol, int, IEnumerable<object>)

Removes the rows with the specified primary keys from the specified table.

public static void DeleteRows(this SLProtocol protocol, int tablePid, IEnumerable<object> keysToDelete)

Parameters

protocol SLProtocol

Link with SLProtocol process.

tablePid int

The ID of the table parameter.

keysToDelete IEnumerable<object>

The primary keys of the rows to remove.

Exceptions

ArgumentNullException

keysToDelete is null.

DeleteRows(SLProtocol, int, IEnumerable<string>)

Removes the rows with the specified primary keys from the specified table.

public static void DeleteRows(this SLProtocol protocol, int tablePid, IEnumerable<string> keysToDelete)

Parameters

protocol SLProtocol

Link with SLProtocol process.

tablePid int

The ID of the table parameter.

keysToDelete IEnumerable<string>

The primary keys of the rows to remove.

Exceptions

ArgumentNullException

keysToDelete is null.