IView

Assembly: Db;

Namespace: Prognoz.Platform.Interop.Db;

Description

The IView interface contains properties and methods of the View repository object.

Inheritance Hierarchy

IView

Comments

When a new view is created, to ensure its correct work, determine the following minimum set of properties in the settings:

Properties

  Property name Brief description
The Database property determines a database, in which the view is stored.
The ForceCreate property determines whether it is possible to create an incorrect view.
The NativeName property determines a physical name of view in database.
The Sql property determines SQL query of view.
The SQLText property determines SQL query of view for the certain driver of database.
The TableCreate property determines whether the view could be saved.

Methods

  Method name Brief description
The AlterView method updates structure of the specified view on database server according to structure of current view.
The ClearSqlText method clears the text of view SQL query.
The CreateView method creates a view in a database on the basis of available metadata.
The DropView method removes views from database.
The RecreateView method recreates view on a DB server.
The UpdateData method updates data of the view.
The UpdateView method updates the view in database.

See also:

Db Assembly Interfaces | IDatasetModel | IDatasetInstance