Create record with related record(s) in a single request using C#

Creating a record in Microsoft Dynamics CRM using C# is pretty straightforward. When you try to create a record together with some related records in the same request, you should use the RelatedEntities property of the parent entity (msdn). The RelatedEntities property requires the relationship name and a collection of entities. To acquire the correct relationship name you should check your customization: … Continue reading Create record with related record(s) in a single request using C#