Table of Contents

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

view View

The View object representing the view to drop.

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.