File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 </PropertyGroup >
1111
1212 <ItemGroup >
13- <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 8.0.10" />
13+ <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 8.0.22" />
14+ <PackageReference Include =" Microsoft.AspNetCore.DataProtection.EntityFrameworkCore" Version =" 8.0.22" />
1415 <PackageReference Include =" Microsoft.Data.SqlClient" Version =" 5.2.2" />
15- <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 8.0.10 " />
16- <PackageReference Include =" Microsoft.EntityFrameworkCore.Relational" Version =" 8.0.10 " />
17- <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 8.0.10 " />
16+ <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 8.0.22 " />
17+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Relational" Version =" 8.0.22 " />
18+ <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 8.0.22 " />
1819 <PackageReference Include =" Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version =" 1.19.6" />
1920 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
2021 <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 6.4.0" />
Original file line number Diff line number Diff line change 44using System . Configuration ;
55using System . Data . SqlClient ;
66using Microsoft . Extensions . Configuration ;
7+ using Microsoft . AspNetCore . DataProtection . EntityFrameworkCore ;
78using System . IO ;
89
910namespace EmailService_API . Models
1011{
11- public partial class EmailServiceContext : DbContext
12+ public partial class EmailServiceContext : DbContext , IDataProtectionKeyContext
1213 {
1314 public EmailServiceContext ( )
1415 {
@@ -21,6 +22,7 @@ public EmailServiceContext(DbContextOptions<EmailServiceContext> options)
2122
2223 public virtual DbSet < EnqueueIncomingMessage > EnqueueIncomingMessages { get ; set ; }
2324 public virtual DbSet < ApiKey > ApiKeys { get ; set ; }
25+ public DbSet < DataProtectionKey > DataProtectionKeys { get ; set ; }
2426
2527 protected override void OnModelCreating ( ModelBuilder modelBuilder )
2628 {
You can’t perform that action at this time.
0 commit comments