資源簡介
從Hibernate中提取的SQL格式化功能,去除了沒用的功能,沒有第三方dll
代碼片段和文件信息
namespace?NHibernate.AdoNet.Util
{
????using?NHibernate.Util;
????using?System;
????using?System.Collections.Generic;
????using?System.Text;
????public?class?BasicFormatter?:?IFormatter
????{
????????protected?static?readonly?HashSet?beginClauses?=?new?HashSet();
????????protected?static?readonly?HashSet?dml?=?new?HashSet();
????????protected?static?readonly?HashSet?endClauses?=?new?HashSet();
????????protected?const?string?IndentString?=?“????“;
????????protected?const?string?Initial?=?“\n????“;
????????protected?static?readonly?HashSet?logical?=?new?HashSet();
????????protected?static?readonly?HashSet?misc?=?new?HashSet();
????????protected?static?readonly?HashSet?quantifiers?=?new?HashSet();
????????static?BasicFormatter()
????????{
????????????beginClauses.Add(“left“);
????????????beginClauses.Add(“right“);
????????????beginClauses.Add(“inner“);
????????????begin
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????15007??2016-10-18?22:34??sqlformatter\BasicFormatter.cs
?????文件???????4673??2016-10-18?22:25??sqlformatter\DdlFormatter.cs
?????文件???????1495??2016-10-18?22:25??sqlformatter\Formatst
?????文件????????152??2016-10-18?22:25??sqlformatter\IFormatter.cs
?????文件????????981??2016-10-18?22:25??sqlformatter\Program.cs
?????文件???????3306??2016-10-18?22:25??sqlformatter\StringTokenizer.cs
?????目錄??????????0??2016-10-18?22:40??sqlformatter
-----------?---------??----------?-----??----
????????????????25614????????????????????7
- 上一篇:數據庫課程設計員工管理系統(C#)
- 下一篇:C#移動鼠標獲取句柄修改標題
評論
共有 條評論