This example demonstrates how to get joined tables from the LinqServerModeDataSource by using a custom LINQ query.
In the example the server-side LinqServerModeDataSource.Selecting event was handled and the QueryableSource property was used to specify the required LINQ query expression.
Question Comments
Added By: Nicholas Anson at: 8/7/2014 7:42:00 AM
Using this event is nice for applying selection criteria, but does the "application" still benefit from LinqServerModeDataSource, despite the use of this event? Or, will the application perform faster using the LinqServerModeDataSource1.TableName = table.ToString, and then applying the ASPXGridView1.FilterExpression concept? Please advise
Added By: Sergi (DevExpress Support) at: 8/7/2014 11:15:05 AM Hi,It seems that you have posted a similar question in the context of the T138156: LinqServerModeDataSource ticket. We will reply you there.