PostgreSqlDataSourceBase..::..DeleteByKey Method (String, String, DeleteOptions)
Delete a record by its primary key.
Namespace:
Tortuga.Chain.PostgreSqlAssembly: Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)
Syntax
public SingleRowDbCommandBuilder<NpgsqlCommand, NpgsqlParameter> DeleteByKey( string tableName, string key, DeleteOptions options )
Public Function DeleteByKey ( _ tableName As String, _ key As String, _ options As DeleteOptions _ ) As SingleRowDbCommandBuilder(Of NpgsqlCommand, NpgsqlParameter)
public: SingleRowDbCommandBuilder<NpgsqlCommand^, NpgsqlParameter^>^ DeleteByKey( String^ tableName, String^ key, DeleteOptions^ options )
Parameters
- tableName
- Type: String
Name of the table.
- key
- Type: String
The key.
- options
- Type: Tortuga.Chain..::..DeleteOptions
The options.