public static void DropSchema()
{
CheckInitialized();
foreach(var config in Holder.GetAllConfigurations())
{
var export = CreateSchemaExport(config);
try
{
export.Drop(false, true);
}
catch(Exception ex)
{
throw new ActiveRecordException("Could not drop the schema", ex);
}
}
}
AR::DropSchema ( |