Skip to content

Commit 9365981

Browse files
Merge pull request #72 from nullinside-development-group/chore/remove-experiments
Chore/remove experiments
2 parents 7ee94a6 + 29c568d commit 9365981

File tree

3 files changed

+1
-25
lines changed

3 files changed

+1
-25
lines changed

src/Nullinside.Api.Model/Ddl/TwitchBan.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using Microsoft.EntityFrameworkCore;
22

3-
using MySql.EntityFrameworkCore.Extensions;
4-
53
namespace Nullinside.Api.Model.Ddl;
64

75
/// <summary>
@@ -41,8 +39,6 @@ public class TwitchBan : ITableModel {
4139
public void OnModelCreating(ModelBuilder modelBuilder) {
4240
modelBuilder.Entity<TwitchBan>(entity => {
4341
entity.HasKey(e => e.Id);
44-
entity.Property(e => e.Id)
45-
.UseMySQLAutoIncrementColumn("int");
4642
entity.Property(e => e.ChannelId)
4743
.HasMaxLength(255);
4844
entity.Property(e => e.BannedUserTwitchId)

src/Nullinside.Api.Model/INullinsideContext.cs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Microsoft.EntityFrameworkCore;
2-
using Microsoft.EntityFrameworkCore.ChangeTracking;
32
using Microsoft.EntityFrameworkCore.Infrastructure;
43

54
using Nullinside.Api.Model.Ddl;
@@ -77,23 +76,4 @@ public interface INullinsideContext : IAsyncDisposable {
7776
/// The number of state entries written to the database.
7877
/// </returns>
7978
int SaveChanges();
80-
81-
/// <summary>
82-
/// Gets an <see cref="EntityEntry" /> for the given entity. The entry provides
83-
/// access to change tracking information and operations for the entity.
84-
/// </summary>
85-
/// <remarks>
86-
/// <para>
87-
/// This method may be called on an entity that is not tracked. You can then
88-
/// set the <see cref="EntityEntry.State" /> property on the returned entry
89-
/// to have the context begin tracking the entity in the specified state.
90-
/// </para>
91-
/// <para>
92-
/// See <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see> for more information and
93-
/// examples.
94-
/// </para>
95-
/// </remarks>
96-
/// <param name="entity">The entity to get the entry for.</param>
97-
/// <returns>The entry for the given entity.</returns>
98-
EntityEntry Entry(object entity);
9979
}

src/Nullinside.Api.Model/Migrations/NullinsideContextModelSnapshot.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
1616
{
1717
#pragma warning disable 612, 618
1818
modelBuilder
19-
.HasAnnotation("ProductVersion", "8.0.13")
19+
.HasAnnotation("ProductVersion", "8.0.11")
2020
.HasAnnotation("Relational:MaxIdentifierLength", 64);
2121

2222
modelBuilder.Entity("Nullinside.Api.Model.Ddl.DockerDeployments", b =>

0 commit comments

Comments
 (0)