ReadGridBuilder<(Of <(<'TRow>)>)>..::..SetDataSource<(Of <(<'TProp>)>)> Method
Sets up CRUD operations in accordance to class the class specification
This combines [T:Suoranta.WebApp.Kendo.AdvancedBuilders`2.GridBuilder`1.ParameterRouting(System.Action{System.Web.Routing.RouteValueDictionary})] and
[T:Suoranta.WebApp.Kendo.AdvancedBuilders`2.GridBuilder`1.ConfigureDataSource(Kendo.Mvc.UI.Fluent.DataSourceBuilder{`0},Suoranta.WebApp.Types.Selector)]
Namespace:
Suoranta.WebApp.KendoAssembly: Suoranta.WebApp (in Suoranta.WebApp.dll)
Syntax
public AdvancedBuilders<(Of <(<'TPageModel, TController>)>)>..::..ReadGridBuilder<TRow> SetDataSource<TProp>( Expression<Func<TRow, TProp>> idProp, Action<RouteValueDictionary> routeValueConfigurer )
Type Parameters
- TProp
- Type of identifier property in TRow
Parameters
- idProp
- Type: Expression<(Of <(<'Func<(Of <(<'TRow, TProp>)>)>>)>)>
Selector for identifier of row model
- routeValueConfigurer
- Type: Action<(Of <(<'RouteValueDictionary>)>)>
Use empty lambda action if not needed

