Skip to content

Commit 0f82d13

Browse files
committed
Cleaned up code
1 parent d6fefda commit 0f82d13

108 files changed

Lines changed: 101 additions & 477 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

benchmarks/EntityFrameworkCore.Triggered.Benchmarks/ApplicationContext.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Security.Cryptography.X509Certificates;
4-
using System.Text;
52
using Microsoft.EntityFrameworkCore;
63
using Microsoft.EntityFrameworkCore.Infrastructure;
74

benchmarks/EntityFrameworkCore.Triggered.Benchmarks/EmbracingFeaturesBenchmarks.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
using System;
22
using System.Linq;
3-
using BenchmarkDotNet;
43
using BenchmarkDotNet.Attributes;
5-
using Microsoft.Diagnostics.Runtime.Interop;
6-
using Microsoft.Diagnostics.Tracing.Analysis.GC;
74
using Microsoft.EntityFrameworkCore;
85
using Microsoft.Extensions.DependencyInjection;
96

benchmarks/EntityFrameworkCore.Triggered.Benchmarks/PlainOverheadBenchmarks.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
using System;
22
using System.Linq;
3-
using BenchmarkDotNet;
43
using BenchmarkDotNet.Attributes;
5-
using Microsoft.Diagnostics.Runtime.Interop;
6-
using Microsoft.Diagnostics.Tracing.Analysis.GC;
74
using Microsoft.EntityFrameworkCore;
85
using Microsoft.Extensions.DependencyInjection;
96

benchmarks/EntityFrameworkCore.Triggered.Benchmarks/Triggers/SetStudentRegistrationDateTrigger.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
52
using System.Threading;
63
using System.Threading.Tasks;
74

benchmarks/EntityFrameworkCore.Triggered.Benchmarks/Triggers/SignStudentUpForMandatoryCourses.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
1+
using System.Linq;
52
using System.Threading;
63
using System.Threading.Tasks;
74

samples/v1/1 - HelloWorld/ApplicationContext.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
62
using EntityFrameworkCore.Triggered;
73
using Microsoft.EntityFrameworkCore;
84

@@ -16,7 +12,7 @@ public class Student
1612

1713
public DateTime RegistrationDate { get; set; }
1814
}
19-
15+
2016
public class ApplicationContext : TriggeredDbContext
2117
{
2218
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)

samples/v1/1 - HelloWorld/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Threading.Tasks;
32

43
namespace PrimarySchool
54
{

samples/v1/1 - HelloWorld/Triggers/StudentAssignRegistrationDate.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
52
using System.Threading;
63
using System.Threading.Tasks;
74
using EntityFrameworkCore.Triggered;

samples/v2/1 - HelloWorld/ApplicationDbContext.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
5-
using System.Threading.Tasks;
6-
using EntityFrameworkCore.Triggered;
72
using Microsoft.EntityFrameworkCore;
83

94
namespace PrimarySchool
@@ -16,7 +11,7 @@ public class Student
1611

1712
public DateTime RegistrationDate { get; set; }
1813
}
19-
14+
2015
public class ApplicationDbContext : DbContext
2116
{
2217
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)

samples/v2/1 - HelloWorld/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Threading.Tasks;
32

43
namespace PrimarySchool
54
{

0 commit comments

Comments
 (0)