I imported a group of customers into the Business Contact Manager from Excel. These are my accounts. Then I imported another group of customer contacts using Excel. Every customer has several contacts, but only one is the primary. Of course, setting this value was not an option in the Excel spreadsheet import.
When I manually identify a contact as the "Primary" in the contact manager, I can see in the SQL database that the account record for that customer has been updated, with the EntryGUID of the contact placed in the "PrimaryContactGUID" field of the account. I am sure I could write a little SQL procedure which would go through my data and update the primary contact for all 350 customers, but I am hesitant to do so.
Is there some other thing I have to update as well (such as the "Version" and/or "ContentVersion" fields) before I can safely update the customer account records in code? For instance, should I execute the procedure dbo.MarkContactChanged when I update one of the fields?