-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathSqlScriptGeneratorOptions.xml
More file actions
151 lines (151 loc) · 9.29 KB
/
SqlScriptGeneratorOptions.xml
File metadata and controls
151 lines (151 loc) · 9.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<?xml version="1.0" encoding="utf-8" ?>
<!--
<copyright file="ScriptGeneratorSettings.xml" company="Microsoft">
Copyright (c) Microsoft Corporation. All rights reserved.
</copyright>
-->
<Settings>
<SettingGroup name="Common">
<Setting name="KeywordCasing" type="KeywordCasing" default="KeywordCasing.Uppercase">
<Title>KeywordCasing_Title</Title>
<Description>KeywordCasing_Description</Description>
<Option value="KeywordCasing.Lowercase">KeywordCasing_LowerCase</Option>
<Option value="KeywordCasing.Uppercase">KeywordCasing_UpperCase</Option>
<Option value="KeywordCasing.PascalCase">KeywordCasing_PascalCase</Option>
<Summary>Gets or sets the keyword casing option to use during script generation</Summary>
</Setting>
<Setting name="IdentifierCasing" type="IdentifierCasing" default="IdentifierCasing.PreserveOriginal">
<Title>IdentifierCasing_Title</Title>
<Description>IdentifierCasing_Description</Description>
<Option value="IdentifierCasing.PreserveOriginal">IdentifierCasing_PreserveOriginal</Option>
<Option value="IdentifierCasing.Lowercase">IdentifierCasing_LowerCase</Option>
<Option value="IdentifierCasing.Uppercase">IdentifierCasing_UpperCase</Option>
<Option value="IdentifierCasing.PascalCase">IdentifierCasing_PascalCase</Option>
<Summary>Gets or sets the identifier casing option to use during script generation</Summary>
</Setting>
<Setting name="SqlVersion" type="SqlVersion" default="SqlVersion.Sql90" browsable="false">
<Summary>Gets or sets the Sql version to generate script for</Summary>
</Setting>
<Setting name="SqlEngineType" type="SqlEngineType" default="SqlEngineType.All" browsable="false">
<Summary>Gets or sets the Sql engine type (All|Engine|Azure) to generate script for</Summary>
</Setting>
<Setting name="IndentationSize" type="int" default="4" min="0" browsable="false">
<Summary>Gets or sets the number of spaces to use when indenting text</Summary>
</Setting>
<Setting name="IncludeSemicolons" type="bool" default="false">
<Title>IncludeSemicolons_Title</Title>
<Description>IncludeSemiColons_Description</Description>
<Summary>Gets or sets a boolean indicating if a semi colon should be included after each statement</Summary>
</Setting>
<Setting name="NewLineFormattedIndexDefinition" type="bool" default="false">
<Summary>Gets or sets a boolean indicating if index definitions should have UNIQUE, INCLUDE and WHERE on their own line</Summary>
</Setting>
<Setting name="NewlineFormattedCheckConstraint" type="bool" default="false">
<Summary>Gets or sets a boolean indicating if check constraints should have the CHECK part on it's own line</Summary>
</Setting>
<Setting name="SpaceBetweenDataTypeAndParameters" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if a space should be included between the data type and the parameters in a data type definition</Summary>
</Setting>
<Setting name="SpaceBetweenParametersInDataType" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if a space should be included between parameters in a data type</Summary>
</Setting>
<Setting name="NumNewlinesAfterStatement" type="int" default="1" min="0">
<Summary>Gets or sets the number of newlines to include after each statement</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="CREATE TABLE">
<Setting name="AlignColumnDefinitionFields" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if column definition fields (column name, data type, constraints) should be aligned into alignment columns.</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="Clauses">
<Setting name="NewLineBeforeFromClause" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if there should be a newline before the FROM clause in a SELECT statement</Summary>
</Setting>
<Setting name="NewLineBeforeWhereClause" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if there should be a newline before the WHERE clause in a SELECT statement</Summary>
</Setting>
<Setting name="NewLineBeforeGroupByClause" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if there should be a newline before the GROUP BY clause in a SELECT statement</Summary>
</Setting>
<Setting name="NewLineBeforeOrderByClause" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if there should be a newline before the ORDER BY clause in a SELECT statement</Summary>
</Setting>
<Setting name="NewLineBeforeHavingClause" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if there should be a newline before the HAVING clause in a SELECT statement</Summary>
</Setting>
<Setting name="NewLineBeforeWindowClause" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if there should be a newline before the WINDOW clause in a SELECT statement</Summary>
</Setting>
<Setting name="NewLineBeforeJoinClause" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if there should be a newline before the JOIN clause in a SELECT statement</Summary>
</Setting>
<Setting name="NewLineBeforeOffsetClause" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if there should be a newline before the OFFSET clause</Summary>
</Setting>
<Setting name="NewLineBeforeOutputClause" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if there should be a newline before the OUTPUT clause</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="Alignment">
<Setting name="AlignClauseBodies" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if the bodies of FROM, WHERE, GROUP BY, etc. clauses should be aligned</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="SELECT">
<Setting name="MultilineSelectElementsList" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if select elements should be listed as a multi-line list</Summary>
</Setting>
<Setting name="MultilineWherePredicatesList" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if WHERE predicates (expressions separated by AND, and OR) should be written on multiple lines</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="CREATE/ALTER VIEW">
<Setting name="IndentViewBody" type="bool" default="false">
<Summary>Gets or sets a boolean indicating if the view statement body should be indented.</Summary>
</Setting>
<Setting name="MultilineViewColumnsList" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if view statement columns should be listed as a multi-line list</Summary>
</Setting>
<Setting name="AsKeywordOnOwnLine" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if the AS keyword should be written on its own line</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="UPDATE">
<Setting name="IndentSetClause" type="bool" default="false">
<Summary>Gets or sets a boolean indicating if the SET clause for an UPDATE statement should be indented</Summary>
</Setting>
<Setting name="AlignSetClauseItem" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if SET clause items in an UPDATE statement should be aligned</Summary>
</Setting>
<Setting name="MultilineSetClauseItems" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if SET clause items should be listed on multiple lines</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="INSERT">
<Setting name="MultilineInsertTargetsList" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if the INSERT column targets list should be spread across multiple lines</Summary>
</Setting>
<Setting name="MultilineInsertSourcesList" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if the INSERT column sources list should be spread across multiple lines</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="Parenthesis">
<Setting name="NewLineBeforeOpenParenthesisInMultilineList" type="bool" default="false">
<Summary>Gets or sets a boolean indicating if a newline should be placed before an open parenthesis when writing a multi-line list in parenthesis</Summary>
</Setting>
<Setting name="NewLineBeforeCloseParenthesisInMultilineList" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if a newline should be placed before an close parenthesis when writing a multi-line list in parenthesis</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="External Libraries">
<Setting name="AllowExternalLibraryPaths" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if file paths can be used for external library content</Summary>
</Setting>
</SettingGroup>
<SettingGroup name="External Languages">
<Setting name="AllowExternalLanguagePaths" type="bool" default="true">
<Summary>Gets or sets a boolean indicating if file paths can be used for external language content</Summary>
</Setting>
</SettingGroup>
</Settings>