New to Telerik Reporting? Start a free 30-day trial

Model representing configuration information for object data sources.

Used in the WebReportDesigner system to configure object data sources, specifying the .NET type, data retrieval method, and parameters required for data access operations.

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; }

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; }

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; }

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