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
protocolSLProtocolLink with SLProtocol process.
tablePidintThe ID of the table parameter.
keysToDeleteIEnumerable<object>The primary keys of the rows to remove.
Exceptions
- ArgumentNullException
keysToDeleteis 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
protocolSLProtocolLink with SLProtocol process.
tablePidintThe ID of the table parameter.
keysToDeleteIEnumerable<string>The primary keys of the rows to remove.
Exceptions
- ArgumentNullException
keysToDeleteis null.