Controller Class
Controller class is used to control the report execution as well as
pre-processing of the report data.
The SSRS reporting framework uses this class to modify the report dialogs, calling the SQL Server reporting services, as well pre-processing parameters for the report.
The SSRS reporting framework uses this class to modify the report dialogs, calling the SQL Server reporting services, as well pre-processing parameters for the report.
Following are the scenarios where Controller class can be used:
- Modifying a report query based on the input data
- Modifying report contract data based on the input data
- Control a report parameters dialog
- Open different reports/designs from the same menu item based on the input data
- Reports that are opened from a form
Contract Class
A Contract class is used to define one or more parameters in the SSRS Report.
This class contains parm methods with the DataMemberAttribute these methods specifies data member of the contract class.
We have to use following attributes in Contract class
This class contains parm methods with the DataMemberAttribute these methods specifies data member of the contract class.
We have to use following attributes in Contract class
- DataContractAttribute [ Indicates that this is a Contract ]
- DataMemberAttribute [ Indicates that it is a contract member used on every parm method ]
- SysOperationLabelAttribute [ label for the data members in the data contract ]
- SysOperationHelpTextAttribute [ help text for the data members in the data contract ]
- SysOperationGroupAttribute [ Groups the data members of the data contract ]
- SysOperationDisplayOrderAttribute [ arrange data members in particular order ]
- SysOperationContractProcessingAttribute [ Bind UIBuilder Class ]
[Note : Contract class can also bind itself to a UIBuilder class using attribute]
UIBuilder Class
A UIBuilder class is used to customize the report dialog through which a user opens the SSRS report.
The UIBuilder class extends the SRSReportDataContractUI class
Following are the scenarios where Controller class can be used:
The UIBuilder class extends the SRSReportDataContractUI class
Following are the scenarios where Controller class can be used:
- To create custom lookup
RDP Class
A RDP Class is a major class in RDP Framework.RDP class is used to process the data and stored the data into temporary table which displays the record in the report
The RDP Class uses two important attributes:
- SRSReportQueryAttribute : This attribute is used to specify the AOT Query which is used in the report.
- SRSReportParameterAttribute : This attribute is used to link the data contract class (in which we define the parameters) with the report
This attribute is define at the bigninng of the RDP class
No comments:
Post a Comment