I want to develop an application where if data exists based on multiple database columns, then EF Core should perform an update operation or else an insert operation.
Table Structure: TableName - Engagement Id, OrgId, PersonId, OrgName, ClubName, .. and many other fields.
I want to write a code where in if OrgId and PersonId [OrgId and PersonId are not the primary keys of the table] Exist in Table Engagement then EF Core should update the record or else It should Insert a new record in the table.
I couldn't find any AddorUpdate Method in EFCore.