Click or drag to resize

ReportSource Properties

The ReportSource type exposes the following members.

Properties
 NameDescription
Public propertyConnection Current connection
(Overrides MetaSourceConnection)
Public propertyConnectionGUID The connection currently used for this data source
(Inherited from MetaSource)
Public propertyConnections List of MetaConnection
(Inherited from MetaSource)
Public propertyError Last error message
(Inherited from MetaSource)
Public propertyExternalConnections If true, the connections are saved in a XML file located beside the Data Source file.
(Inherited from MetaSource)
Public propertyForceLoad For performance reasons, the source is not loaded during execution if it is not involved in the report (in models, tasks, etc.). Set this flag to true to force the load anyway and use the source in scripts.
Public propertyGUID The unique identifier
(Inherited from RootComponent)
Public propertyIgnorePrePostError If true, errors occuring during the Pre or Post SQL statements are ignored and the execution continues
(Inherited from MetaSource)
Public propertyInformation Last information message
(Inherited from MetaSource)
Public propertyInitScript If set, the script is executed when a report is initialized for an execution. This may be useful to change dynamically components of the source (e.g. modifying connections, tables, columns, enums, etc.).
(Inherited from MetaSource)
Public propertyIsDefault If true, this source is used as default when a new model is created in a report
(Inherited from MetaSource)
Public propertyIsNoSQL If true, this source contains only tables built from dedicated Razor Scripts (one for the definition and one for the load). The a LINQ query will then be used to fill the models.
(Inherited from MetaSource)
Public propertyIsSQL If true, this source contains only a table built from a database. The SQL engine will be used to fill the models.
(Inherited from MetaSource)
Public propertyMetaData MetaData contained in the source
(Inherited from MetaSource)
Public propertyMetaSourceGUID Unique identifier of the source
Public propertyMetaSourceName Name
Public propertyName The name
(Inherited from RootComponent)
Public propertyPostSQL SQL Statement executed before the connection is closed and after the query is executed. The statement may contain Razor script if it starts with '@'.
(Inherited from MetaSource)
Public propertyPreSQL SQL Statement executed after the connection is open and before the query is executed. The statement may contain Razor script if it starts with '@'.
(Inherited from MetaSource)
Public propertyReport The current report
(Inherited from ReportComponent)
Public propertyRepositoryConnection Reference to the default repository connection
Top
See Also