Class DataDictionary

The application data dictionary. The members of this class contain the fields, tables, joins, and other objects of the data dictionary.

System.Object
  Stonefield.Query.DataDictionary.DataDictionary
public class DataDictionary : object, IDataDictionary

Class Members

MemberDescription

Constructor

The constructor needs configured IProvider, ISecurity, IPluginRepository, and ILogManagerobjects. It's used by tests where we want to construct a test provider rather than letting DataDictionary build its own.

ConnectToMetaData

Connects to all meta data database(s).

public sealed void ConnectToMetaData();

ConnectToMetaDataDatabase

Connects to the specified meta data database.

public sealed void ConnectToMetaDataDatabase(string connName);

CreateSQLitePackage

Create a SQLite database of the data dictionary.

public sealed void CreateSQLitePackage(string path)

CreateSQLitePackageForFormulas

Create a SQLite database of formulas.

public sealed void CreateSQLitePackageForFormulas(string path)

DeleteApplicationView

Deletes the specified application view and all child application views.

public sealed void DeleteApplicationView(IApplicationView appView);

DeleteApplicationViewField

Deletes the specified application view field and removes it from all application views.

public sealed void DeleteApplicationViewField(IApplicationViewField field);

DeleteDatabase

Deletes the specified database and all of its related items from the data dictionary.

public sealed void DeleteDatabase(IDatabase database);

DeleteDataGroup

Deletes the specified datagroup and all of its related items from the data dictionary.

public sealed void DeleteDataGroup(IDataGroup datagroup);

DeleteField

Deletes the specified field and all of its related items from the data dictionary.

public sealed bool DeleteField(IField field);

DeleteJoin

Deletes the specified join and all of its related items from the data dictionary.

public sealed void DeleteJoin(IJoin join);

DeleteRole

Deletes the specified role and all of its related items from the data dictionary.

public sealed void DeleteRole(IMetaDataRole role);

DeleteStoredProcedure

Deletes the specified stored procedure from the data dictionary.

public sealed void DeleteStoredProcedure(IStoredProcedure sproc);

DeleteTable

Deletes the specified table and all of its related items from the data dictionary.

public sealed bool DeleteTable(ITable table);

ReloadDataDictionary

Reload the data dictionary collection.

public sealed void ReloadDataDictionary();

ApplicationViewFields

The application view fields collection.

ApplicationViews

The application views collection.

Databases

The databases collection.

DataGroups

The data groups collection.

DefaultConnectionName

The default connection name (the one data dictionary changes are written to).

Fields

The fields collection.

Joins

The joins collection.

JoinTrees

The join trees collection.

Provider

A reference to a Provider object for meta data storage.

Roles

The data dictionary roles collection.

StoredProcedures

The stored procedures collection.

Tables

The tables collection.

Requirements

Namespace: Stonefield.Query.DataDictionary
Assembly: datadictionary.dll