How to write LINQ query in C# customization

From what I understand, you can’t use LINQ client side. Probably the easiest way to get that would be create a BAQ and then run a dynamic query call to get the information.