"((IEnumerable)sourceData).Cast().Select(ob =>
new
{
SenderId = "Expo-HSE-01",
IssueId = ob.IncidentNo.Value,
IssuePointId = String.Join(",", ((IEnumerable)ob.TypeofIncident)
.Cast()
.Select(ip => ip.Value)),
IssueTypeId = "Issue-HSE-General",
ZoneId = ob.Location.LocationCode.Value
}"
Getting above query as string need to execute this at runtime.