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

CustomDataSourceModelDescriptorFactory

Methods

Id(System.String)

Specify the member used to identify an unique Model instance.

Parameters

fieldName - System.String

The member name.

Id(System.Linq.Expressions.Expression)

Specify the member used to identify an unique Model instance.

Parameters

expression - System.Linq.Expressions.Expression<Func>

Member access expression which describes the member

Field(System.Linq.Expressions.Expression)

Describes a Model field

Parameters

expression - System.Linq.Expressions.Expression<Func>

Member access expression which describes the field

Field(System.String,System.Type)

Describes a Model field

Parameters

memberName - System.String

Field name

memberType - System.Type

Field type

Field(System.String)

Describes a Model field

Parameters

memberName - System.String

Member name

ClearFields()

Clears all Model fields.

In this article
Not finding the help you need?