Method CreateView
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
CreateView(string, ViewType)
Creates a new view in this schema.
public View CreateView(string name, ViewType viewType)
Parameters
Returns
- View
The newly created View instance.
CreateView(string, ViewType, Query)
Creates a new view in this schema with a Query definition.
public View CreateView(string name, ViewType viewType, Query query)
Parameters
namestringThe name of the view to create.
viewTypeViewTypeThe type of view (Code or Sql).
queryQueryThe Query object that defines the view.
Returns
- View
The newly created View instance.
CreateView(string, ViewType, string)
Creates a new view in this schema with a SQL definition.
public View CreateView(string name, ViewType viewType, string sql)
Parameters
namestringThe name of the view to create.
viewTypeViewTypeThe type of view (Code or Sql).
sqlstringThe SQL statement that defines the view.
Returns
- View
The newly created View instance.