@@ -111,6 +111,7 @@ public void Create(bool useStdOut, bool execute)
111
111
Create ( useStdOut , execute , null ) ;
112
112
}
113
113
114
+ //TODO 6.0: Make connection parameter optional: DbConnection connection = null
114
115
/// <summary>
115
116
/// Run the schema creation script
116
117
/// </summary>
@@ -122,7 +123,7 @@ public void Create(bool useStdOut, bool execute)
122
123
/// This is a convenience method that calls <see cref="Execute(bool, bool, bool)"/> and sets
123
124
/// the justDrop parameter to false.
124
125
/// </remarks>
125
- public void Create ( bool useStdOut , bool execute , DbConnection connection = null )
126
+ public void Create ( bool useStdOut , bool execute , DbConnection connection )
126
127
{
127
128
InitConnectionAndExecute ( GetAction ( useStdOut ) , execute , false , connection , null ) ;
128
129
}
@@ -142,6 +143,7 @@ public void Create(Action<string> scriptAction, bool execute)
142
143
Create ( scriptAction , execute , null ) ;
143
144
}
144
145
146
+ //TODO 6.0: Make connection parameter optional: DbConnection connection = null
145
147
/// <summary>
146
148
/// Run the schema creation script
147
149
/// </summary>
@@ -153,7 +155,7 @@ public void Create(Action<string> scriptAction, bool execute)
153
155
/// This is a convenience method that calls <see cref="Execute(bool, bool, bool)"/> and sets
154
156
/// the justDrop parameter to false.
155
157
/// </remarks>
156
- public void Create ( Action < string > scriptAction , bool execute , DbConnection connection = null )
158
+ public void Create ( Action < string > scriptAction , bool execute , DbConnection connection )
157
159
{
158
160
InitConnectionAndExecute ( scriptAction , execute , false , connection , null ) ;
159
161
}
@@ -173,6 +175,7 @@ public void Create(TextWriter exportOutput, bool execute)
173
175
Create ( exportOutput , execute , null ) ;
174
176
}
175
177
178
+ //TODO 6.0: Make connection parameter optional: DbConnection connection = null
176
179
/// <summary>
177
180
/// Run the schema creation script
178
181
/// </summary>
@@ -184,7 +187,7 @@ public void Create(TextWriter exportOutput, bool execute)
184
187
/// This is a convenience method that calls <see cref="Execute(bool, bool, bool)"/> and sets
185
188
/// the justDrop parameter to false.
186
189
/// </remarks>
187
- public void Create ( TextWriter exportOutput , bool execute , DbConnection connection = null )
190
+ public void Create ( TextWriter exportOutput , bool execute , DbConnection connection )
188
191
{
189
192
InitConnectionAndExecute ( null , execute , false , connection , exportOutput ) ;
190
193
}
@@ -204,6 +207,7 @@ public void Drop(bool useStdOut, bool execute)
204
207
Drop ( useStdOut , execute , null ) ;
205
208
}
206
209
210
+ //TODO 6.0: Make connection parameter optional: DbConnection connection = null
207
211
/// <summary>
208
212
/// Run the drop schema script
209
213
/// </summary>
@@ -215,7 +219,7 @@ public void Drop(bool useStdOut, bool execute)
215
219
/// This is a convenience method that calls <see cref="Execute(bool, bool, bool)"/> and sets
216
220
/// the justDrop parameter to true.
217
221
/// </remarks>
218
- public void Drop ( bool useStdOut , bool execute , DbConnection connection = null )
222
+ public void Drop ( bool useStdOut , bool execute , DbConnection connection )
219
223
{
220
224
InitConnectionAndExecute ( GetAction ( useStdOut ) , execute , true , connection , null ) ;
221
225
}
@@ -235,6 +239,7 @@ public void Drop(TextWriter exportOutput, bool execute)
235
239
Drop ( exportOutput , execute , null ) ;
236
240
}
237
241
242
+ //TODO 6.0: Make connection parameter optional: DbConnection connection = null
238
243
/// <summary>
239
244
/// Run the drop schema script
240
245
/// </summary>
@@ -246,7 +251,7 @@ public void Drop(TextWriter exportOutput, bool execute)
246
251
/// This is a convenience method that calls <see cref="Execute(Action<string>, bool, bool, TextWriter)"/> and sets
247
252
/// the justDrop parameter to true.
248
253
/// </remarks>
249
- public void Drop ( TextWriter exportOutput , bool execute , DbConnection connection = null )
254
+ public void Drop ( TextWriter exportOutput , bool execute , DbConnection connection )
250
255
{
251
256
InitConnectionAndExecute ( null , execute , true , connection , exportOutput ) ;
252
257
}
0 commit comments