Hi,
For now we will jump back to our C# Collections to gain some understanding…
Firstly whenever we would like to add just one element to the collection we use List.Add as below
List<OrganizationRequest> RequestCollection = new List<OrganizationRequest>();
OrganizationRequest class is provided in Microsoft.Xrm.Sdk namespace.
For this list of organization request collection…if we want to add an element..we can do like this where CreateRequest is part of OrganizationRequest
CreateRequest transCreate = new CreateRequest { Target = orderTransaction };
RequestCollection.Add(transCreate);//Adding a create request
Suppose if we want to add multiple elements…we can use as below..
RequestCollection.AddRange(orderStarValue,totalRewardStars,salesOrder,orderDate);
Hope this helps..