New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent interface for configuring the DataSource Model definition.

Definition

Constructors

C#
public GanttDependencyModelDescriptorFactory(GanttDependencyModelDescriptor model)
Parameters:modelGanttDependencyModelDescriptor

Methods

Specify the member used for the PredecessorId field.

C#
public void PredecessorId(string fieldName)
Parameters:fieldNamestring

The member name.

Specify the member used for the PredecessorId field.

C#
public void PredecessorId<TValue>(Expression<Func<TModel, TValue>> expression)
Parameters:expressionExpression<Func<TModel, TValue>>

Member access expression which describes the member

Specify the member used for the SuccessorId field.

C#
public void SuccessorId(string fieldName)
Parameters:fieldNamestring

The member name.

Specify the member used for the SuccessorId field.

C#
public void SuccessorId<TValue>(Expression<Func<TModel, TValue>> expression)
Parameters:expressionExpression<Func<TModel, TValue>>

Member access expression which describes the member

Specify the member used for the Type field.

C#
public void Type(string fieldName)
Parameters:fieldNamestring

The member name.

Specify the member used for the Type field.

C#
public void Type<TValue>(Expression<Func<TModel, TValue>> expression)
Parameters:expressionExpression<Func<TModel, TValue>>

Member access expression which describes the member