[fix]Config创建默认配置文件的开关Runtime.CreateConfigOnMissing,仅需对自动创建生效,而不应该阻止用户主动Save
智能大石头 authored at 2024-08-09 00:30:41 石头 committed at 2024-08-10 14:22:24
1.56 KiB
X

namespace XCode.DataAccessLayer
{
    /// <summary>数据定义模式</summary>
    public enum DDLSchema
    {
        /// <summary>建立数据库</summary>
        CreateDatabase,

        /// <summary>删除数据库</summary>
        DropDatabase,

        /// <summary>数据库是否存在</summary>
        DatabaseExist,

        /// <summary>建立表</summary>
        CreateTable,

        /// <summary>删除表</summary>
        DropTable,

        /// <summary>数据表是否存在</summary>
        TableExist,

        /// <summary>添加表说明</summary>
        AddTableDescription,

        /// <summary>删除表说明</summary>
        DropTableDescription,

        /// <summary>添加字段</summary>
        AddColumn,

        /// <summary>修改字段</summary>
        AlterColumn,

        /// <summary>删除字段</summary>
        DropColumn,

        /// <summary>添加字段说明</summary>
        AddColumnDescription,

        /// <summary>删除字段说明</summary>
        DropColumnDescription,

        /// <summary>添加默认值</summary>
        AddDefault,

        /// <summary>删除默认值</summary>
        DropDefault,

        /// <summary>建立索引</summary>
        CreateIndex,

        /// <summary>删除索引</summary>
        DropIndex,

        /// <summary>备份数据库</summary>
        BackupDatabase,

        /// <summary>还原数据库</summary>
        RestoreDatabase,

        /// <summary>收缩数据库</summary>
        CompactDatabase
    }
}