Skip to content

Commit

Permalink
Keep only one ctor with DbContextOptions parameter (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArdenHide authored Nov 29, 2024
1 parent 547069d commit dece3fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/DispenserProvider.DataBase/DispenserContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace DispenserProvider.DataBase;
public class DispenserContext : DbContext
{
public DispenserContext() { }
public DispenserContext(DbContextOptions options) : base(options) { }
public DispenserContext(DbContextOptions<DispenserContext> options) : base(options) { }

public virtual DbSet<DispenserDTO> Dispenser { get; set; } = null!;
Expand Down

0 comments on commit dece3fb

Please sign in to comment.