Method DropView
- Namespace
- YndigoBlue.Velocity.Engine
- Assembly
- YndigoBlue.Velocity.dll
DropView(View)
Drops (deletes) a view from the database.
public void DropView(View view)
Parameters
Examples
using (var m = new Manager(conn))
{
var schema = m.LoadSchema("app");
var view = schema.Views["active_users"];
m.DropView(view);
}
Exceptions
- DbException
Thrown when a database error occurs.