Skip to content

Commit

Permalink
refactor: make Tokens null!
Browse files Browse the repository at this point in the history
  • Loading branch information
HunorTotBagi committed Jan 25, 2024
1 parent b9d9c35 commit 8f5be22
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,19 @@ namespace Backbone.Modules.Tokens.Infrastructure.Persistence.Database;

public class TokensDbContext : AbstractDbContextBase
{
public TokensDbContext() { }
public TokensDbContext()
{
}

public TokensDbContext(DbContextOptions<TokensDbContext> options) : base(options) { }
public TokensDbContext(DbContextOptions<TokensDbContext> options) : base(options)
{
}

public TokensDbContext(DbContextOptions<TokensDbContext> options, IServiceProvider serviceProvider) : base(options, serviceProvider) { }
public TokensDbContext(DbContextOptions<TokensDbContext> options, IServiceProvider serviceProvider) : base(options, serviceProvider)
{
}

public virtual DbSet<Token> Tokens { get; set; }
public virtual DbSet<Token> Tokens { get; set; } = null!;

//protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
//{
Expand Down

0 comments on commit 8f5be22

Please sign in to comment.