I need to build a dynamic LINQ query (VB.NET) where the sort field must be build as string at runtime. My query is like this:
clsDmlEO is a "<Telerik.OpenAccess.Persistent()> <Serializable()>" class mapped to SQL Server table.
I need to change the OrderBy in something like this:
where pstrSortField is a string variabile/parameter built at runtime.
Please can you help me?