New to Telerik ReportingStart a free 30-day trial

Model representing configuration information for object data sources.

Definition

Namespace:Telerik.WebReportDesigner.Services.Models

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

C#
public class ObjectDataSourceInfo

Inheritance: objectObjectDataSourceInfo

Constructors

C#
public ObjectDataSourceInfo()

Properties

Gets or sets the name of the data-retrieval member.

C#
public string DataMember { get; set; }
Remarks:

Specifies the method or property to call for data retrieval. If omitted, the type constructor will be used instead.

Gets or sets the assembly-qualified name of the type used as a data source.

C#
[Required]
public string DataSource { get; set; }
Remarks:

Must be a fully qualified type name that can be resolved at runtime for creating the data source instance.

Gets or sets the collection of parameters for the data-retrieval member or constructor.

C#
public List<ObjectDataSourceParameterInfo> JsonParameters { get; set; }
Remarks:

Contains JSON-friendly parameter representations that will be passed to the specified data-retrieval member or constructor during data source initialization.