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

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

Generates and executes the creation scripts for the database.
public static CreateSchema ( ) : void
Результат void
        public static void CreateSchema()
        {
            CheckInitialized();

            foreach(var config in Holder.GetAllConfigurations())
            {
                var export = CreateSchemaExport(config);

                try
                {
                    export.Create(false, true);
                }
                catch(Exception ex)
                {
                    throw new ActiveRecordException("Could not create the schema", ex);
                }
            }
        }

Same methods

AR::CreateSchema ( Type baseClass ) : void