En första justering , det fanns många referenser kvar till GreadyPoang...

This commit is contained in:
2025-10-11 08:45:09 +02:00
parent 5d1e7858f2
commit 18f0dc566b
96 changed files with 239 additions and 236 deletions

View File

@ -1,8 +1,8 @@
using GreadyPoang.DataLayer.Database;
using GreadyPoang.EntityLayer;
using Gready_Poang.DataLayer.Database;
using Gready_Poang.EntityLayer;
using Microsoft.EntityFrameworkCore;
namespace GreadyPoang.DataLayer;
namespace Gready_Poang.DataLayer;
public class CombinedRepository : ICombinedRepository
{

View File

@ -1,9 +1,9 @@
using Common.Library;
using GreadyPoang.DataLayer.Database;
using GreadyPoang.EntityLayer;
using Gready_Poang.DataLayer.Database;
using Gready_Poang.EntityLayer;
using Microsoft.EntityFrameworkCore;
namespace GreadyPoang.DataLayer;
namespace Gready_Poang.DataLayer;
public class GamePointRepository : IRepository<GamePoint>
{

View File

@ -1,9 +1,9 @@
using Common.Library;
using GreadyPoang.DataLayer.Database;
using GreadyPoang.EntityLayer;
using Gready_Poang.DataLayer.Database;
using Gready_Poang.EntityLayer;
using Microsoft.EntityFrameworkCore;
namespace GreadyPoang.DataLayer;
namespace Gready_Poang.DataLayer;
public class GameRoundRepository : IRepository<GameRound>
{

View File

@ -1,9 +1,9 @@
using Common.Library;
using GreadyPoang.DataLayer.Database;
using GreadyPoang.EntityLayer;
using Gready_Poang.DataLayer.Database;
using Gready_Poang.EntityLayer;
using Microsoft.EntityFrameworkCore;
namespace GreadyPoang.DataLayer;
namespace Gready_Poang.DataLayer;
public class ParticipantRepository : IRepository<Participant>
{

View File

@ -1,7 +1,7 @@
using GreadyPoang.EntityLayer;
using Gready_Poang.EntityLayer;
using Microsoft.EntityFrameworkCore;
namespace GreadyPoang.DataLayer.Database;
namespace Gready_Poang.DataLayer.Database;
public class DataContext : DbContext
{

View File

@ -1,7 +1,7 @@

using GreadyPoang.EntityLayer;
using Gready_Poang.EntityLayer;
namespace GreadyPoang.DataLayer;
namespace Gready_Poang.DataLayer;
public interface ICombinedRepository
{

View File

@ -1,5 +1,5 @@
// <auto-generated />
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -7,7 +7,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250901152226_initialCreate")]
@ -19,7 +19,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -4,7 +4,7 @@
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class initialCreate : Migration

View File

@ -1,6 +1,6 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250902115700_GamePointsTable")]
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -5,7 +5,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class GamePointsTable : Migration

View File

@ -1,6 +1,6 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250902120934_GamePointsTableStaticSeed")]
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class GamePointsTableStaticSeed : Migration

View File

@ -1,6 +1,6 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250902122130_FixDateTimeSeed")]
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class FixDateTimeSeed : Migration

View File

@ -1,6 +1,6 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250903062957_FixHeatToRoundParameter")]
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -2,7 +2,7 @@
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class FixHeatToRoundParameter : Migration

View File

@ -1,6 +1,6 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250903070200_FixHeatToRoundParams")]
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -2,7 +2,7 @@
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class FixHeatToRoundParams : Migration

View File

@ -1,6 +1,6 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250903074537_AddedStatusEnum")]
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -2,7 +2,7 @@
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class AddedStatusEnum : Migration

View File

@ -1,6 +1,6 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250903195147_AddedTableGameRounds")]
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -91,7 +91,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.GameRound", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GameRound", b =>
{
b.Property<int>("GameRoundId")
.ValueGeneratedOnAdd()
@ -128,7 +128,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -5,7 +5,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class AddedTableGameRounds : Migration

View File

@ -1,6 +1,6 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250903195935_ChangedUpdateOrderInSeeding")]
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -91,7 +91,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.GameRound", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GameRound", b =>
{
b.Property<int>("GameRoundId")
.ValueGeneratedOnAdd()
@ -128,7 +128,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -2,7 +2,7 @@
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class ChangedUpdateOrderInSeeding : Migration

View File

@ -1,6 +1,6 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
@ -8,7 +8,7 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20250914064850_statusfieldmove")]
@ -20,7 +20,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -84,7 +84,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.GameRound", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GameRound", b =>
{
b.Property<int>("GameRoundId")
.ValueGeneratedOnAdd()
@ -127,7 +127,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()

View File

@ -2,7 +2,7 @@
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
/// <inheritdoc />
public partial class statusfieldmove : Migration

View File

@ -1,13 +1,13 @@
// <auto-generated />
using System;
using GreadyPoang.DataLayer.Database;
using Gready_Poang.DataLayer.Database;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace GreadyPoang.DataLayer.Migrations
namespace Gready_Poang.DataLayer.Migrations
{
[DbContext(typeof(DataContext))]
partial class DataContextModelSnapshot : ModelSnapshot
@ -17,7 +17,7 @@ namespace GreadyPoang.DataLayer.Migrations
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "9.0.8");
modelBuilder.Entity("GreadyPoang.EntityLayer.GamePoint", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GamePoint", b =>
{
b.Property<int>("GamePointId")
.ValueGeneratedOnAdd()
@ -81,7 +81,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.GameRound", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.GameRound", b =>
{
b.Property<int>("GameRoundId")
.ValueGeneratedOnAdd()
@ -124,7 +124,7 @@ namespace GreadyPoang.DataLayer.Migrations
});
});
modelBuilder.Entity("GreadyPoang.EntityLayer.Participant", b =>
modelBuilder.Entity("Gready_Poang.EntityLayer.Participant", b =>
{
b.Property<int>("ParticipantId")
.ValueGeneratedOnAdd()