We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 907e1ba commit dce4723Copy full SHA for dce4723
Infrastructure/DbContexts/AppDbContext.cs
@@ -3,13 +3,11 @@
3
using PaymentCoreServiceApi.Core.Entities.UserGenerated;
4
5
namespace PaymentCoreServiceApi.Infrastructure.DbContexts;
6
-public class AppDbContext: DbContext
+
7
+public class AppDbContext(DbContextOptions<AppDbContext> options) : DbContext(options)
8
{
- public AppDbContext(DbContextOptions<AppDbContext> options) : base(options)
9
- {
10
- }
11
public DbSet<User> Users { get; set; }
12
public DbSet<BankAccount> BankAccounts { get; set; }
13
14
- //dotnet ef database update
+ //dotnet ef database update
15
}
0 commit comments