Class DataSource
Provides the abstract base class for all data source components in Telerik Reporting that supply data to report items.
Inheritance
Namespace: Telerik.Reporting
Assembly: Telerik.Reporting.dll
Syntax
public abstract class DataSource : Component, ISimpleDataSource, IDataSource, INamedObject, ICloneable, IEquatableDataSource
Remarks
This class serves as the foundation for specialized data source implementations like SqlDataSource, ObjectDataSource, CsvDataSource, and others. Derived classes must implement specific data retrieval logic while inheriting common functionality for naming, calculated fields, and component lifecycle management. All data source components support calculated fields for custom data transformations and provide standardized interfaces for data binding operations.
Constructors
DataSource()
Declaration
protected DataSource()
Properties
CalculatedFields
Gets the calculated fields collection.
Declaration
public CalculatedFieldCollection CalculatedFields { get; }
Property Value
|
CalculatedFieldCollection
|
Description
Gets or sets the description of the DataSource component.
Declaration
public string Description { get; set; }
Property Value
|
System.String
The description of the DataSource component. |
Name
Gets or sets the name of the DataSource component.
Declaration
public string Name { get; set; }
Property Value
|
System.String
The name of the DataSource component. |