TableManagerCreateView Method |
Creates specified view in database
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax public void CreateView(
string viewName,
string selectExpression,
bool indexed = false,
string schema = null
)
Parameters
- viewName
- Type: SystemString
View name to create - selectExpression
- Type: SystemString
Select expression for the view - indexed (Optional)
- Type: SystemBoolean
If true, the view is indexed (schema bound) - schema (Optional)
- Type: SystemString
Schema of the indexed view
See Also