Skip to content

Commit 35466c4

Browse files
committed
Adjust some of lines in source file.
1 parent 004ec65 commit 35466c4

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

DirectSQL/SqlResult.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ internal void Init()
182182
}
183183
}
184184

185+
185186
private void InitResultFields()
186187
{
187188
if (_resultFields != null)
@@ -206,6 +207,7 @@ private void InitResultValues()
206207

207208
}
208209

210+
209211
private static ExpandoObject CreateResultValue(R reader, ImmutableArray<String> fields)
210212
{
211213
var values = new ExpandoObject();
@@ -227,6 +229,7 @@ private void InitResultTuples()
227229
_resultTuples = CreateResultTuples(_reader, ResultFields);
228230
}
229231

232+
230233
private static (string, object)[] CreateResultTuples(R reader, ImmutableArray<string> resultFields)
231234
{
232235
var array = new (String, object)[resultFields.Length];
@@ -247,6 +250,7 @@ internal void Close()
247250
_command.Dispose();
248251
}
249252

253+
250254
/// <summary>
251255
/// Dispose resources.
252256
/// </summary>
@@ -272,8 +276,6 @@ public static dynamic[] LoadSqlResult(
272276
transaction,
273277
(result) => {
274278

275-
276-
277279
while (result.Next())
278280
{
279281
list.Add(result.ResultValues);
@@ -324,6 +326,7 @@ IEnumerator IEnumerable.GetEnumerator()
324326

325327
}
326328

329+
327330
private class Enumerator<TP> : IEnumerator<TP>, IEnumerator
328331
{
329332

@@ -355,6 +358,5 @@ public void Reset()
355358
}
356359
}
357360

358-
359361
}
360362
}

0 commit comments

Comments
 (0)