New to Telerik ReportingStart a free 30-day trial

Model for serializing data source information including type and instance data.

Definition

Namespace:Telerik.WebReportDesigner.Services.Models

Assembly:Telerik.WebReportDesigner.Services.dll

Syntax:

C#
public class DataSourceInfo

Inheritance: objectDataSourceInfo

Constructors

C#
public DataSourceInfo()

Properties

Gets or sets the data source instance object.

C#
public object DataSource { get; set; }
Remarks:

Contains the actual data source object that will be serialized/deserialized, typically used with object data sources and other custom data providers.

NetType

string

Gets or sets the .NET type name of the data source.

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

Contains the fully qualified type name used for proper deserialization and type identification of the data source object.