Method DeleteRows
- 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
SLProtocolLink with SLProtocol process.
tablePid
intThe 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
SLProtocolLink with SLProtocol process.
tablePid
intThe ID of the table parameter.
keysToDelete
IEnumerable<string>The primary keys of the rows to remove.
Exceptions
- ArgumentNullException
keysToDelete
is null.