Method DropSchema
- Namespace
- YndigoBlue.Velocity.Engine
- Assembly
- YndigoBlue.Velocity.dll
DropSchema(Schema)
Drops (deletes) a schema and all its objects from the database.
public void DropSchema(Schema schema)
Parameters
Examples
using (var m = new Manager(conn))
{
var schema = m.LoadSchema("old_schema");
m.DropSchema(schema);
}
Exceptions
- DbException
Thrown when a database error occurs.