Good day! I am learning C # relatively recently ... In a book (C # Bible) I read an example:
adapter.DeleteCommand = new OleDbCommand("Delete from Peoples WHERE idKey = ?"); adapter.DeleteCommand.Parameters.Add("idKey", OleDbType.Integral, 10, "idKey"); adapter.DeleteCommand.Connection = connection; adapter.Update(dataset.Tables);
please explain to me where is the transfer of value to idKey key? I still do not understand where this is going to remove a specific entry ... In adapter.DeleteCommand.Parameters.Add, nothing of the kind happens.