suppose i have a 'account' entity and i have a grid of 'contact' in account form such that account and contact have n:n relationship.
now if i add a new contact using the grid of contacts in account form then how can i get the customer record ID using C# plugin. Please tell.