Is it possible to save a part of linq query in config?

Hello All,

Can we save the entire or part of the linq query in config file ?

for example :
(From p In dt.AsEnumerable() Group By x= New With { Key.a =p.Item(“Vendor”)} Into Grp = Group Select dt.Clone.LoadDataRow (New Object() {grp(0)(0),String.Join(";",grp.select(Function c(“E-Mail”).ToString))},False)).CopyToDataTable

Thanks in advance.

Hi @Slavia_Monteiro
I think u cannot save the linq query in config and reuse it again like this config(keyname), because that whole would represent as object

Or u can save the column names in config and then use it here around in linq query

Regards,
Nived N
Happy Automation

1 Like

Thanks @NIVED_NAMBIAR