Method Exists
Exists(SLProtocol, int, string)
Determines whether a row with the specified primary key exists in the specified table.
public static bool Exists(SLProtocol protocol, int tableId, string key)
Parameters
protocolSLProtocolInstance that implements SLProtocol.
tableIdintThe ID of the table parameter.
keystringThe primary key of the row.
Returns
- bool
Indication of whether the table contains a row with the specified primary key.
truemeans a row with the primary key is present,falseotherwise.