'Declaration Public Overloads Function FindByPrimaryKey( _ ByVal key As System.Object _ ) As System.Integer
public System.int FindByPrimaryKey( System.object key )
Parameters
- key
- A primary key value. The PrimaryKey property must contain a single C1ViewColumn. If the System.Type of the value differs from the C1ViewColumn.DataType of the corresponding primary key column then this value will be converted to the column's target type automatically. In the case where such a conversion is impossible, an exception will be raised.
Return Value
An index of found row or -1 if row has not been found.