[improv]优化Packet.ToArray性能问题
大石头 authored at 2024-09-11 09:04:36 大石头 committed at 2024-09-11 09:10:28
1.59 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
    }
}