Castle.ActiveRecord.AR.DropSchema C# (CSharp) Метод

DropSchema() публичный статический Метод

Generates and executes the Drop scripts for the database.
public static DropSchema ( ) : void
Результат void
        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);
                }
            }
        }

Same methods

AR::DropSchema ( Type baseClass ) : void