Assembly: Db;
The IView interface contains properties and methods of the View repository object.
IView
When a new view is created, to ensure its correct work, determine the following minimum set of properties in the settings:
| Property name | Brief description | |
| Database | The Database property determines a database, in which the view is stored. | |
| ForceCreate | The ForceCreate property determines whether it is possible to create an incorrect view. | |
| NativeName | The NativeName property determines a physical name of view in database. | |
| Sql | The Sql property determines SQL query of view. | |
| SQLText | The SQLText property determines SQL query of view for the certain driver of database. | |
| TableCreate | The TableCreate property determines whether the view could be saved. |
| Method name | Brief description | |
| AlterView | The AlterView method updates structure of the specified view on database server according to structure of current view. | |
| ClearSqlText | The ClearSqlText method clears the text of view SQL query. | |
| CreateView | The CreateView method creates a view in a database on the basis of available metadata. | |
| DropView | The DropView method removes views from database. | |
| RecreateView | The RecreateView method recreates view on a DB server. | |
| UpdateData | The UpdateData method updates data of the view. | |
| UpdateView | The UpdateView method updates the view in database. |
See also: