sqlscripttype.cs

来自「企业内部信息交流系统」· CS 代码 · 共 61 行

CS
61
字号
using System;

namespace SqlAdmin {
    /// <summary>
    /// Specifies the SQL statements to be included in the script.
    /// </summary>
    [Flags]
	public enum SqlScriptType {
        /// <summary>
        /// The script should include an object creation statement.
        /// </summary>
        Create      = 0x0001,

        /// <summary>
        /// The script should include an object drop statement.
        /// </summary>
        Drop        = 0x0002,

        /// <summary>
        /// The script should include comments.
        /// </summary>
        Comments    = 0x0004,

        /// <summary>
        /// The script should include defaults.
        /// This only applies to table schema.
        /// </summary>
        Defaults    = 0x0008,

        /// <summary>
        /// The script should include the primary key.
        /// This only applies to table schema.
        /// </summary>
        PrimaryKey  = 0x0010,

        /// <summary>
        /// The script should include checks.
        /// This only applies to table schema.
        /// </summary>
        Checks      = 0x0020,

        /// <summary>
        /// The script should include foreign keys.
        /// This only applies to table schema.
        /// </summary>
        ForeignKeys = 0x0040,

        /// <summary>
        /// The script should include unique keys.
        /// This only applies to table schema.
        /// </summary>
        UniqueKeys  = 0x0080,

        /// <summary>
        /// The script should include indexes.
        /// This only applies to table schema.
        /// </summary>
        Indexes     = 0x0100,
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?