Class
ObjectDataSourceInfo

Model representing configuration information for object data sources.

Definition

Namespace:Telerik.WebReportDesigner.Services.Models

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

cs-api-definition
public class ObjectDataSourceInfo

Inheritance: objectObjectDataSourceInfo

Constructors

ObjectDataSourceInfo()

Declaration

cs-api-definition
public ObjectDataSourceInfo()

Properties

DataMember

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

Declaration

cs-api-definition
public string DataMember { get; set; }

Property Value

string

Remarks

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

DataSource

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

Declaration

cs-api-definition
[Required]
public string DataSource { get; set; }

Property Value

string

Remarks

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

JsonParameters

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

Declaration

cs-api-definition
public List<ObjectDataSourceParameterInfo> JsonParameters { get; set; }

Property Value

List<ObjectDataSourceParameterInfo>

Remarks

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