public virtual IDbCommand BuildDeleteCommand( string tableName, string primaryKeyFieldName, object primaryKeyValue, DataRowProcessMethod updateMethod );
primaryKeyFieldName
Primary key field name within the table
primaryKeyValue
Primary key value for the record that is to be deleted
updateMethod
Method used to update the database (commands, stored procedures,...)
[Prefix]del[TableName]
So in a scenario where the default prefix is used and the table name is Customer, the SP needs to have the following name:
milos_delCustomer
The SP needs to accept a single parameter, which defines the primary key value of the row that is to be deleted. The name of the parameter needs to be the same as the primary key field. (If the PK field is named pk_customer, the parameter name is @pk_customer).