Defines the fluent interface for configuring the DataSource Model definition.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TModel
Type of the model
Syntax:
C#
public class GanttModelDescriptorFactory<TModel> : DataSourceModelDescriptorFactory<TModel> where TModel : class
Inheritance: objectDataSourceModelDescriptorFactoryBase<TModel>DataSourceModelDescriptorFactory<TModel>GanttModelDescriptorFactory<TModel>
Inherited Members
Constructors
C#
public GanttModelDescriptorFactory(GanttModelDescriptor model)
Methods
Specify the member used for the orderId.
Specify the member used for the orderId.
C#
public void OrderId<TValue>(Expression<Func<TModel, TValue>> expression)
Member access expression which describes the member
Specify the member used for the parentId.
Specify the member used for the parentId.
C#
public void ParentId<TValue>(Expression<Func<TModel, TValue>> expression)
Member access expression which describes the member