Remove unnecessary method get_primary_keys
Add option, and passing parameters.
Fist version for merge data, only insert and delete.
Minor changes.
Only delete and insert for merge action.
Changes for merge action.