SmartSQL/SmartSQL.Framework/TSqlFormatter/Interfaces/SqlXmlConstants.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/*
Poor Man's T-SQL Formatter - a small free Transact-SQL formatting
library for .Net 2.0, written in C#.
Copyright (C) 2011-2013 Tao Klerks
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
namespace TSqlFormatter.Interfaces
{
public static class SqlXmlConstants
{
public const string ENAME_SQL_ROOT = "SqlRoot";
public const string ENAME_SQL_STATEMENT = "SqlStatement";
public const string ENAME_SQL_CLAUSE = "Clause";
public const string ENAME_SET_OPERATOR_CLAUSE = "SetOperatorClause";
public const string ENAME_INSERT_CLAUSE = "InsertClause";
public const string ENAME_BEGIN_END_BLOCK = "BeginEndBlock";
public const string ENAME_TRY_BLOCK = "TryBlock";
public const string ENAME_CATCH_BLOCK = "CatchBlock";
public const string ENAME_BATCH_SEPARATOR = "BatchSeparator";
public const string ENAME_CASE_STATEMENT = "CaseStatement";
public const string ENAME_CASE_INPUT = "Input";
public const string ENAME_CASE_WHEN = "When";
public const string ENAME_CASE_THEN = "Then";
public const string ENAME_CASE_ELSE = "CaseElse";
public const string ENAME_IF_STATEMENT = "IfStatement";
public const string ENAME_ELSE_CLAUSE = "ElseClause";
public const string ENAME_BOOLEAN_EXPRESSION = "BooleanExpression";
public const string ENAME_WHILE_LOOP = "WhileLoop";
public const string ENAME_CURSOR_DECLARATION = "CursorDeclaration";
public const string ENAME_CURSOR_FOR_BLOCK = "CursorForBlock";
public const string ENAME_CURSOR_FOR_OPTIONS = "CursorForOptions";
public const string ENAME_CTE_WITH_CLAUSE = "CTEWithClause";
public const string ENAME_CTE_ALIAS = "CTEAlias";
public const string ENAME_CTE_AS_BLOCK = "CTEAsBlock";
public const string ENAME_BEGIN_TRANSACTION = "BeginTransaction";
public const string ENAME_COMMIT_TRANSACTION = "CommitTransaction";
public const string ENAME_ROLLBACK_TRANSACTION = "RollbackTransaction";
public const string ENAME_SAVE_TRANSACTION = "SaveTransaction";
public const string ENAME_DDL_DECLARE_BLOCK = "DDLDeclareBlock";
public const string ENAME_DDL_PROCEDURAL_BLOCK = "DDLProceduralBlock";
public const string ENAME_DDL_OTHER_BLOCK = "DDLOtherBlock";
public const string ENAME_DDL_AS_BLOCK = "DDLAsBlock";
public const string ENAME_DDL_PARENS = "DDLParens";
public const string ENAME_DDL_SUBCLAUSE = "DDLSubClause";
后面还有 68 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
