Meta |
public class MetaSource : ReportComponent
The MetaSource type exposes the following members.
Name | Description | |
---|---|---|
![]() | MetaSource | Initializes a new instance of the MetaSource class |
Name | Description | |
---|---|---|
![]() | Connection | Current MetaConnection |
![]() | ConnectionGUID | The connection currently used for this data source |
![]() | Connections | List of MetaConnection |
![]() | Error | Last error message |
![]() | ExternalConnections | If true, the connections are saved in a XML file located beside the Data Source file. |
![]() | 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 |
![]() | Information | Last information message |
![]() | 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.). |
![]() | IsDefault | If true, this source is used as default when a new model is created in a report |
![]() | 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. |
![]() | IsSQL | If true, this source contains only a table built from a database. The SQL engine will be used to fill the models. |
![]() | MetaData | MetaData contained in the source |
![]() | 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 '@'. |
![]() | 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 '@'. |
![]() | Report |
The current report
(Inherited from ReportComponent) |
Name | Description | |
---|---|---|
![]() | AddColumn | Add a MetaColumn in a MetaTable |
![]() | AddColumnsFromCatalog | Fill a list of columns from a table catalog |
![]() | AddConnection | Create a MetaConnection in the source |
![]() | AddDefaultConnection | Add a default MetaConnection to the source |
![]() | AddEnum | Add a MetaEnum to the MetaData |
![]() | AddJoin | Add a MetaJoin to the MetaData |
![]() | AddTable | Add a MetaTable in the source |
![]() | CheckLINQ | Check a LINQ statement |
![]() | CheckSQL | Check a SQL statement, the check includes also all the Pre/Post SQL statements defined. |
![]() ![]() | Create | Create a basic MetaSource |
![]() | CreateEnumFromColumn | Helper to create a MetaEnum for a given MetaColumn |
![]() | 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 |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetOpenConnection | Returns an open DbConnection |
![]() | GetTableName | Returns a full table name from a raw name |
![]() | 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 |
![]() ![]() | LoadFromFile | Load the MetaSource from a file |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | Refresh | Refresh all tables having dynamic columns and needed a refresh |
![]() | RemoveConnection | Remove a MetaConnection from the source |
![]() | RemoveEnum | Remove a MetaEnum from the MetaData |
![]() | RemoveJoin | Remove a MetaJoin from the MetaData |
![]() | RemoveTable | Remove a MetaTable from the source |
![]() | RemoveTableLink | Remove a MetaTableLink from the source |
![]() | SaveToFile | Save to the current file |
![]() | SaveToFile(String) | Save to a file |
![]() | 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 | |
![]() | _dctd | (Inherited from RootEditor) |
![]() | _GUID | (Inherited from RootComponent) |
![]() | _name | (Inherited from RootComponent) |
![]() | _report | (Inherited from ReportComponent) |
![]() | FilePath | Current file path of the source |
![]() | LastMetadataModification | Last modification Date Time of the Metadata (used for optimization) |
![]() | LastModification | Last modification Date Time |
![]() | Repository | Current repository |
![]() | Tag | Object that can be used at run-time for any purpose |