Report |
public class ReportSource : MetaSource
The ReportSource type exposes the following members.
Name | Description | |
---|---|---|
ReportSource | Initializes a new instance of the ReportSource class |
Name | Description | |
---|---|---|
Connection |
Current connection
(Overrides MetaSourceConnection) | |
ConnectionGUID |
The connection currently used for this data source
(Inherited from MetaSource) | |
Connections |
List of MetaConnection
(Inherited from MetaSource) | |
Error |
Last error message
(Inherited from MetaSource) | |
ExternalConnections |
If true, the connections are saved in a XML file located beside the Data Source file.
(Inherited from MetaSource) | |
ForceLoad | 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. | |
GUID |
The unique identifier
(Inherited from RootComponent) | |
IgnorePrePostError |
If true, errors occuring during the Pre or Post SQL statements are ignored and the execution continues
(Inherited from MetaSource) | |
Information |
Last information message
(Inherited from MetaSource) | |
InitScript |
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) | |
IsDefault |
If true, this source is used as default when a new model is created in a report
(Inherited from MetaSource) | |
IsNoSQL |
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) | |
IsSQL |
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) | |
MetaData |
MetaData contained in the source
(Inherited from MetaSource) | |
MetaSourceGUID | Unique identifier of the source | |
MetaSourceName | Name | |
Name |
The name
(Inherited from RootComponent) | |
PostSQL |
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) | |
PreSQL |
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) | |
Report |
The current report
(Inherited from ReportComponent) | |
RepositoryConnection | Reference to the default repository connection |
Name | Description | |
---|---|---|
AddColumn |
Add a MetaColumn in a MetaTable
(Inherited from MetaSource) | |
AddColumnsFromCatalog |
Fill a list of columns from a table catalog
(Inherited from MetaSource) | |
AddConnection |
Create a MetaConnection in the source
(Inherited from MetaSource) | |
AddDefaultConnection |
Add a default MetaConnection to the source
(Inherited from MetaSource) | |
AddEnum |
Add a MetaEnum to the MetaData
(Inherited from MetaSource) | |
AddJoin |
Add a MetaJoin to the MetaData
(Inherited from MetaSource) | |
AddTable |
Add a MetaTable in the source
(Inherited from MetaSource) | |
CheckLINQ |
Check a LINQ statement
(Inherited from MetaSource) | |
CheckSQL |
Check a SQL statement, the check includes also all the Pre/Post SQL statements defined.
(Inherited from MetaSource) | |
Create | Creates a basic ReportSource | |
CreateEnumFromColumn |
Helper to create a MetaEnum for a given MetaColumn
(Inherited from MetaSource) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetColumnName |
Returns a full column name from a raw name
(Inherited from MetaSource) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetOpenConnection |
Returns an open DbConnection
(Inherited from MetaSource) | |
GetTableName |
Returns a full table name from a raw name
(Inherited from MetaSource) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Init |
Init the editor objects
(Inherited from RootEditor) | |
InitDefaultValues |
Init the default values
(Inherited from RootEditor) | |
InitEditor |
Init the editor objects and the default values
(Inherited from RootEditor) | |
InitReferences |
Init all object references
(Inherited from MetaSource) | |
LoadRepositoryMetaSources | Load the available MetaSources defined in the repository | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Refresh |
Refresh all tables having dynamic columns and needed a refresh
(Inherited from MetaSource) | |
RefreshEnumsOnDbConnection | Refresh the enumerated list values | |
RemoveConnection |
Remove a MetaConnection from the source
(Inherited from MetaSource) | |
RemoveEnum |
Remove a MetaEnum from the MetaData
(Inherited from MetaSource) | |
RemoveJoin |
Remove a MetaJoin from the MetaData
(Inherited from MetaSource) | |
RemoveTable |
Remove a MetaTable from the source
(Inherited from MetaSource) | |
RemoveTableLink |
Remove a MetaTableLink from the source
(Inherited from MetaSource) | |
SaveToFile |
Save to the current file
(Inherited from MetaSource) | |
SaveToFile(String) |
Save to a file
(Inherited from MetaSource) | |
SetReadOnly |
Set all properties to readonly
(Inherited from RootEditor) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
UpdateEditor |
Update editor attributes
(Inherited from RootEditor) | |
UpdateEditorAttributes |
Refresh properties attrivutes
(Inherited from RootEditor) |
Name | Description | |
---|---|---|
_connectionGUID | (Inherited from MetaSource) | |
_dctd | (Inherited from RootEditor) | |
_GUID | (Inherited from RootComponent) | |
_name | (Inherited from RootComponent) | |
_report | (Inherited from ReportComponent) | |
DefaultReportConnectionGUID | ||
DefaultRepositoryConnectionGUID | ||
FilePath |
Current file path of the source
(Inherited from MetaSource) | |
LastMetadataModification |
Last modification Date Time of the Metadata (used for optimization)
(Inherited from MetaSource) | |
LastModification |
Last modification Date Time
(Inherited from MetaSource) | |
Loaded | True if the source has been initialized from the repository | |
Repository |
Current repository
(Inherited from MetaSource) | |
Tag |
Object that can be used at run-time for any purpose
(Inherited from MetaSource) | |
TempConnections | ||
TempEnums | ||
TempJoins | ||
TempLinks | ||
TempTables |