Skip to content

Commit 4c0ffe9

Browse files
committed
fix style
1 parent d8365e1 commit 4c0ffe9

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

examples/Linq2db.QuickStart/Program.cs

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public sealed class Episode
7171
internal sealed class MyYdb : DataConnection
7272
{
7373
public MyYdb(string connectionString)
74-
: base(new DataOptions().UseConnectionString("YDB", connectionString)) {}
74+
: base(new DataOptions().UseConnectionString("YDB", connectionString)) { }
7575

7676

7777
public MyYdb(DataOptions options) : base(options)
@@ -381,18 +381,27 @@ private async Task InteractiveTransaction()
381381

382382
await db.InsertAsync(new Episode
383383
{
384-
SeriesId = 2, SeasonId = 5, EpisodeId = 13,
385-
Title = "Test Episode", AirDate = new DateTime(2018, 08, 27)
384+
SeriesId = 2,
385+
SeasonId = 5,
386+
EpisodeId = 13,
387+
Title = "Test Episode",
388+
AirDate = new DateTime(2018, 08, 27)
386389
});
387390
await db.InsertAsync(new Episode
388391
{
389-
SeriesId = 2, SeasonId = 5, EpisodeId = 21,
390-
Title = "Test 21", AirDate = new DateTime(2018, 08, 27)
392+
SeriesId = 2,
393+
SeasonId = 5,
394+
EpisodeId = 21,
395+
Title = "Test 21",
396+
AirDate = new DateTime(2018, 08, 27)
391397
});
392398
await db.InsertAsync(new Episode
393399
{
394-
SeriesId = 2, SeasonId = 5, EpisodeId = 22,
395-
Title = "Test 22", AirDate = new DateTime(2018, 08, 27)
400+
SeriesId = 2,
401+
SeasonId = 5,
402+
EpisodeId = 22,
403+
Title = "Test 22",
404+
AirDate = new DateTime(2018, 08, 27)
396405
});
397406

398407
await tr.CommitAsync();

0 commit comments

Comments
 (0)