1
0
mirror of https://github.com/chylex/Minecraft-Phantom-Panel.git synced 2025-09-06 16:53:11 +02:00
Files
2025-08-21 20:31:21 +02:00

15 lines
450 B
C#

using Microsoft.EntityFrameworkCore;
using Phantom.Controller.Database.Entities;
namespace Phantom.Controller.Database.Factories;
public sealed class AgentEntityUpsert : AbstractUpsertHelper<AgentEntity> {
internal AgentEntityUpsert(ApplicationDbContext ctx) : base(ctx) {}
private protected override DbSet<AgentEntity> Set => Ctx.Agents;
private protected override AgentEntity Construct(Guid guid) {
return new AgentEntity(guid);
}
}