index.cs

来自「sqlce查询分析器」· CS 代码 · 共 31 行

CS
31
字号
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ScriptGenerator
{
    /// <summary>
    /// TABLE_NAME, INDEX_NAME, PRIMARY_KEY, [UNIQUE], [CLUSTERED], ORDINAL_POSITION, COLUMN_NAME, COLLATION as SORT_ORDER
    /// </summary>
    public struct Index
    {
        public string TableName { get; set; }
        public string IndexName { get; set; }
        public bool PrimaryKey { get; set; }
        public bool Unique { get; set; }
        public bool Clustered { get; set; }
        public int OrdinalPosition { get; set; }
        public string ColumnName { get; set; }
        public SortOrderEnum SortOrder { get; set; }

    }


    public enum SortOrderEnum
    {
        Asc
        , Desc
    }
}

⌨️ 快捷键说明

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