What is the most efficient way to implement update row if it exists, else insert new row logic using Entity Framework? Or are there any patterns for this?

Edit
Report