[ID] [int] IDENTITY(1,1) NOT NULL,
[PID] [int] NULL,
[Key] [varchar](50) NULL,
[Value] [varchar](128) NULL,
[SortID] [int] NOT NULL,
CONSTRAINT [PK_Dict] PRIMARY KEY CLUSTERED
(
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
要生成的枚举是:
{
Select ,
Edit ,
ID,
PID,
Key,
Value,
SortID,
Del,
}
可在 SQL 2008 里快速生成:
SQL2008 给开发者提供的最大好处是 列出成员 了, 快捷键和 VS 一样. (Ctrl+J) . 超爽.
作者:NewSea 如无特别标记说明,均为NewSea原创,版权私有,翻载必纠。欢迎交流,转载,但要在页面明显位置给出原文连接。谢谢。 |