Repository navigation
Description
We are currently testing encrypted SQLite and we are experiencing slow performance (about 500 ms for commiting transaction) when inserting into database.
info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
Entity Framework Core 6.0.8 initialized 'TestDbContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.8' with options: MaxPoolSize=1024
info: 18. 08. 2022 13:49:11.936 CoreEventId.ContextInitialized[10403] (Microsoft.EntityFrameworkCore.Infrastructure)
Entity Framework Core 6.0.8 initialized 'TestDbContext' using provider 'Microsoft.EntityFrameworkCore.Sqlite:6.0.8' with options: MaxPoolSize=1024
dbug: 18. 08. 2022 13:49:11.987 RelationalEventId.ConnectionOpening[20000] (Microsoft.EntityFrameworkCore.Database.Connection)
Opening connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:12.466 RelationalEventId.ConnectionOpened[20001] (Microsoft.EntityFrameworkCore.Database.Connection)
Opened connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:12.470 RelationalEventId.ConnectionOpening[20000] (Microsoft.EntityFrameworkCore.Database.Connection)
Opening connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.063 RelationalEventId.ConnectionOpened[20001] (Microsoft.EntityFrameworkCore.Database.Connection)
Opened connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.064 RelationalEventId.ConnectionClosing[20002] (Microsoft.EntityFrameworkCore.Database.Connection)
Closing connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.066 RelationalEventId.ConnectionClosed[20003] (Microsoft.EntityFrameworkCore.Database.Connection)
Closed connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.070 RelationalEventId.ConnectionOpening[20000] (Microsoft.EntityFrameworkCore.Database.Connection)
Opening connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.072 RelationalEventId.ConnectionError[20004] (Microsoft.EntityFrameworkCore.Database.Connection)
An error occurred using the connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.073 RelationalEventId.ConnectionOpening[20000] (Microsoft.EntityFrameworkCore.Database.Connection)
Opening connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.073 RelationalEventId.ConnectionOpened[20001] (Microsoft.EntityFrameworkCore.Database.Connection)
Opened connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.078 RelationalEventId.CommandCreating[20103] (Microsoft.EntityFrameworkCore.Database.Command)
Creating DbCommand for 'ExecuteNonQuery'.
dbug: 18. 08. 2022 13:49:13.080 RelationalEventId.CommandCreated[20104] (Microsoft.EntityFrameworkCore.Database.Command)
Created DbCommand for 'ExecuteNonQuery' (2ms).
dbug: 18. 08. 2022 13:49:13.082 RelationalEventId.CommandExecuting[20100] (Microsoft.EntityFrameworkCore.Database.Command)
Executing DbCommand [Parameters=[], CommandType='Text', CommandTimeout='30']
PRAGMA journal_mode = 'wal';
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (596ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
PRAGMA journal_mode = 'wal';
info: 18. 08. 2022 13:49:13.680 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command)
Executed DbCommand (596ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
PRAGMA journal_mode = 'wal';
dbug: 18. 08. 2022 13:49:13.680 RelationalEventId.ConnectionClosing[20002] (Microsoft.EntityFrameworkCore.Database.Connection)
Closing connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.681 RelationalEventId.ConnectionClosed[20003] (Microsoft.EntityFrameworkCore.Database.Connection)
Closed connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:13.733 CoreEventId.DetectChangesStarting[10800] (Microsoft.EntityFrameworkCore.ChangeTracking)
DetectChanges starting for 'TestDbContext'.
dbug: 18. 08. 2022 13:49:13.734 CoreEventId.DetectChangesCompleted[10801] (Microsoft.EntityFrameworkCore.ChangeTracking)
DetectChanges completed for 'TestDbContext'.
dbug: 18. 08. 2022 13:49:13.752 RelationalEventId.ConnectionOpening[20000] (Microsoft.EntityFrameworkCore.Database.Connection)
Opening connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:14.214 RelationalEventId.ConnectionOpened[20001] (Microsoft.EntityFrameworkCore.Database.Connection)
Opened connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:14.216 RelationalEventId.TransactionStarting[20209] (Microsoft.EntityFrameworkCore.Database.Transaction)
Beginning transaction with isolation level 'Unspecified'.
dbug: 18. 08. 2022 13:49:14.217 RelationalEventId.TransactionStarted[20200] (Microsoft.EntityFrameworkCore.Database.Transaction)
Began transaction with isolation level 'Serializable'.
dbug: 18. 08. 2022 13:49:14.218 RelationalEventId.CommandCreating[20103] (Microsoft.EntityFrameworkCore.Database.Command)
Creating DbCommand for 'ExecuteNonQuery'.
dbug: 18. 08. 2022 13:49:14.218 RelationalEventId.CommandCreated[20104] (Microsoft.EntityFrameworkCore.Database.Command)
Created DbCommand for 'ExecuteNonQuery' (0ms).
dbug: 18. 08. 2022 13:49:14.218 RelationalEventId.CommandExecuting[20100] (Microsoft.EntityFrameworkCore.Database.Command)
Executing DbCommand [Parameters=[], CommandType='Text', CommandTimeout='30']
CREATE TABLE "TestModel" (
"DrawId" INTEGER NOT NULL CONSTRAINT "PK_TestModel" PRIMARY KEY AUTOINCREMENT,
"ChangeUser" TEXT NULL,
"ChangeDate" AS (DATETIME()) STORED
);
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
CREATE TABLE "TestModel" (
"DrawId" INTEGER NOT NULL CONSTRAINT "PK_TestModel" PRIMARY KEY AUTOINCREMENT,
"ChangeUser" TEXT NULL,
"ChangeDate" AS (DATETIME()) STORED
);
info: 18. 08. 2022 13:49:14.219 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command)
Executed DbCommand (1ms) [Parameters=[], CommandType='Text', CommandTimeout='30']
CREATE TABLE "TestModel" (
"DrawId" INTEGER NOT NULL CONSTRAINT "PK_TestModel" PRIMARY KEY AUTOINCREMENT,
"ChangeUser" TEXT NULL,
"ChangeDate" AS (DATETIME()) STORED
);
+ dbug: 18. 08. 2022 13:49:14.221 RelationalEventId.TransactionCommitting[20210] (Microsoft.EntityFrameworkCore.Database.Transaction)
Committing transaction.
+ dbug: 18. 08. 2022 13:49:14.227 RelationalEventId.TransactionCommitted[20202] (Microsoft.EntityFrameworkCore.Database.Transaction)
Committed transaction.
dbug: 18. 08. 2022 13:49:14.227 RelationalEventId.TransactionDisposed[20204] (Microsoft.EntityFrameworkCore.Database.Transaction)
Disposing transaction.
dbug: 18. 08. 2022 13:49:14.228 RelationalEventId.ConnectionClosing[20002] (Microsoft.EntityFrameworkCore.Database.Connection)
Closing connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:14.228 RelationalEventId.ConnectionClosed[20003] (Microsoft.EntityFrameworkCore.Database.Connection)
Closed connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:14.251 CoreEventId.ValueGenerated[10808] (Microsoft.EntityFrameworkCore.ChangeTracking)
'TestDbContext' generated a temporary value for the property 'DrawId.TestModel'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
dbug: 18. 08. 2022 13:49:14.280 CoreEventId.StartedTracking[10806] (Microsoft.EntityFrameworkCore.ChangeTracking)
Context 'TestDbContext' started tracking 'TestModel' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
dbug: 18. 08. 2022 13:49:14.284 CoreEventId.SaveChangesStarting[10004] (Microsoft.EntityFrameworkCore.Update)
SaveChanges starting for 'TestDbContext'.
dbug: 18. 08. 2022 13:49:14.284 CoreEventId.DetectChangesStarting[10800] (Microsoft.EntityFrameworkCore.ChangeTracking)
DetectChanges starting for 'TestDbContext'.
dbug: 18. 08. 2022 13:49:14.288 CoreEventId.DetectChangesCompleted[10801] (Microsoft.EntityFrameworkCore.ChangeTracking)
DetectChanges completed for 'TestDbContext'.
dbug: 18. 08. 2022 13:49:14.300 RelationalEventId.ConnectionOpening[20000] (Microsoft.EntityFrameworkCore.Database.Connection)
Opening connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:14.301 RelationalEventId.ConnectionOpened[20001] (Microsoft.EntityFrameworkCore.Database.Connection)
Opened connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:14.302 RelationalEventId.TransactionStarting[20209] (Microsoft.EntityFrameworkCore.Database.Transaction)
Beginning transaction with isolation level 'Unspecified'.
dbug: 18. 08. 2022 13:49:14.304 RelationalEventId.TransactionStarted[20200] (Microsoft.EntityFrameworkCore.Database.Transaction)
Began transaction with isolation level 'Serializable'.
dbug: 18. 08. 2022 13:49:14.332 RelationalEventId.CommandCreating[20103] (Microsoft.EntityFrameworkCore.Database.Command)
Creating DbCommand for 'ExecuteReader'.
dbug: 18. 08. 2022 13:49:14.332 RelationalEventId.CommandCreated[20104] (Microsoft.EntityFrameworkCore.Database.Command)
Created DbCommand for 'ExecuteReader' (0ms).
dbug: 18. 08. 2022 13:49:14.337 RelationalEventId.CommandExecuting[20100] (Microsoft.EntityFrameworkCore.Database.Command)
Executing DbCommand [Parameters=[@p0='?'], CommandType='Text', CommandTimeout='30']
INSERT INTO "TestModel" ("ChangeUser")
VALUES (@p0);
SELECT "DrawId", "ChangeDate"
FROM "TestModel"
WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: 18. 08. 2022 13:49:14.339 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command)
Executed DbCommand (4ms) [Parameters=[@p0='?'], CommandType='Text', CommandTimeout='30']
INSERT INTO "TestModel" ("ChangeUser")
VALUES (@p0);
SELECT "DrawId", "ChangeDate"
FROM "TestModel"
WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (4ms) [Parameters=[@p0='?'], CommandType='Text', CommandTimeout='30']
INSERT INTO "TestModel" ("ChangeUser")
VALUES (@p0);
SELECT "DrawId", "ChangeDate"
FROM "TestModel"
WHERE changes() = 1 AND "rowid" = last_insert_rowid();
dbug: 18. 08. 2022 13:49:14.364 CoreEventId.ForeignKeyChangeDetected[10803] (Microsoft.EntityFrameworkCore.ChangeTracking)
The foreign key property 'TestModel.DrawId' was detected as changed. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see property values.
dbug: 18. 08. 2022 13:49:14.371 RelationalEventId.DataReaderDisposing[20300] (Microsoft.EntityFrameworkCore.Database.Command)
A data reader was disposed.
- dbug: 18. 08. 2022 13:49:14.373 RelationalEventId.TransactionCommitting[20210] (Microsoft.EntityFrameworkCore.Database.Transaction)
Committing transaction.
- dbug: 18. 08. 2022 13:49:14.834 RelationalEventId.TransactionCommitted[20202] (Microsoft.EntityFrameworkCore.Database.Transaction)
Committed transaction.
dbug: 18. 08. 2022 13:49:14.836 RelationalEventId.ConnectionClosing[20002] (Microsoft.EntityFrameworkCore.Database.Connection)
Closing connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:14.837 RelationalEventId.ConnectionClosed[20003] (Microsoft.EntityFrameworkCore.Database.Connection)
Closed connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:14.840 RelationalEventId.TransactionDisposed[20204] (Microsoft.EntityFrameworkCore.Database.Transaction)
Disposing transaction.
dbug: 18. 08. 2022 13:49:14.846 CoreEventId.StateChanged[10807] (Microsoft.EntityFrameworkCore.ChangeTracking)
An entity of type 'TestModel' tracked by 'TestDbContext' changed state from 'Added' to 'Unchanged'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
dbug: 18. 08. 2022 13:49:14.847 CoreEventId.SaveChangesCompleted[10005] (Microsoft.EntityFrameworkCore.Update)
SaveChanges completed for 'TestDbContext' with 1 entities written to the database.
dbug: 18. 08. 2022 13:49:54.918 CoreEventId.ValueGenerated[10808] (Microsoft.EntityFrameworkCore.ChangeTracking)
'TestDbContext' generated a temporary value for the property 'DrawId.TestModel'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
dbug: 18. 08. 2022 13:49:54.925 CoreEventId.StartedTracking[10806] (Microsoft.EntityFrameworkCore.ChangeTracking)
Context 'TestDbContext' started tracking 'TestModel' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
dbug: 18. 08. 2022 13:49:54.927 CoreEventId.SaveChangesStarting[10004] (Microsoft.EntityFrameworkCore.Update)
SaveChanges starting for 'TestDbContext'.
dbug: 18. 08. 2022 13:49:54.928 CoreEventId.DetectChangesStarting[10800] (Microsoft.EntityFrameworkCore.ChangeTracking)
DetectChanges starting for 'TestDbContext'.
dbug: 18. 08. 2022 13:49:54.930 CoreEventId.DetectChangesCompleted[10801] (Microsoft.EntityFrameworkCore.ChangeTracking)
DetectChanges completed for 'TestDbContext'.
dbug: 18. 08. 2022 13:49:54.931 RelationalEventId.ConnectionOpening[20000] (Microsoft.EntityFrameworkCore.Database.Connection)
Opening connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:54.931 RelationalEventId.ConnectionOpened[20001] (Microsoft.EntityFrameworkCore.Database.Connection)
Opened connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:54.932 RelationalEventId.TransactionStarting[20209] (Microsoft.EntityFrameworkCore.Database.Transaction)
Beginning transaction with isolation level 'Unspecified'.
dbug: 18. 08. 2022 13:49:54.932 RelationalEventId.TransactionStarted[20200] (Microsoft.EntityFrameworkCore.Database.Transaction)
Began transaction with isolation level 'Serializable'.
dbug: 18. 08. 2022 13:49:54.933 RelationalEventId.CommandCreating[20103] (Microsoft.EntityFrameworkCore.Database.Command)
Creating DbCommand for 'ExecuteReader'.
dbug: 18. 08. 2022 13:49:54.934 RelationalEventId.CommandCreated[20104] (Microsoft.EntityFrameworkCore.Database.Command)
Created DbCommand for 'ExecuteReader' (0ms).
dbug: 18. 08. 2022 13:49:54.935 RelationalEventId.CommandExecuting[20100] (Microsoft.EntityFrameworkCore.Database.Command)
Executing DbCommand [Parameters=[@p0='?'], CommandType='Text', CommandTimeout='30']
INSERT INTO "TestModel" ("ChangeUser")
VALUES (@p0);
SELECT "DrawId", "ChangeDate"
FROM "TestModel"
WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: 18. 08. 2022 13:49:54.936 RelationalEventId.CommandExecuted[20101] (Microsoft.EntityFrameworkCore.Database.Command)
Executed DbCommand (2ms) [Parameters=[@p0='?'], CommandType='Text', CommandTimeout='30']
INSERT INTO "TestModel" ("ChangeUser")
VALUES (@p0);
SELECT "DrawId", "ChangeDate"
FROM "TestModel"
WHERE changes() = 1 AND "rowid" = last_insert_rowid();
info: Microsoft.EntityFrameworkCore.Database.Command[20101]
Executed DbCommand (2ms) [Parameters=[@p0='?'], CommandType='Text', CommandTimeout='30']
INSERT INTO "TestModel" ("ChangeUser")
VALUES (@p0);
SELECT "DrawId", "ChangeDate"
FROM "TestModel"
WHERE changes() = 1 AND "rowid" = last_insert_rowid();
dbug: 18. 08. 2022 13:49:54.940 CoreEventId.ForeignKeyChangeDetected[10803] (Microsoft.EntityFrameworkCore.ChangeTracking)
The foreign key property 'TestModel.DrawId' was detected as changed. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see property values.
dbug: 18. 08. 2022 13:49:54.951 RelationalEventId.DataReaderDisposing[20300] (Microsoft.EntityFrameworkCore.Database.Command)
A data reader was disposed.
- dbug: 18. 08. 2022 13:49:54.952 RelationalEventId.TransactionCommitting[20210] - -(Microsoft.EntityFrameworkCore.Database.Transaction)
Committing transaction.
- dbug: 18. 08. 2022 13:49:55.457 RelationalEventId.TransactionCommitted[20202] (Microsoft.EntityFrameworkCore.Database.Transaction)
Committed transaction.
dbug: 18. 08. 2022 13:49:55.457 RelationalEventId.ConnectionClosing[20002] (Microsoft.EntityFrameworkCore.Database.Connection)
Closing connection to database 'main' on server 'P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\TestDatabase.db'.
dbug: 18. 08. 2022 13:49:55.459 RelationalEventId.ConnectionClosed[20003] (Microsoft.EntityFrameworkCore.Database.Connection)
Closed connection to database 'main' on server 'TestDatabase.db'.
dbug: 18. 08. 2022 13:49:55.463 RelationalEventId.TransactionDisposed[20204] (Microsoft.EntityFrameworkCore.Database.Transaction)
Disposing transaction.
dbug: 18. 08. 2022 13:49:55.463 CoreEventId.StateChanged[10807] (Microsoft.EntityFrameworkCore.ChangeTracking)
An entity of type 'TestModel' tracked by 'TestDbContext' changed state from 'Added' to 'Unchanged'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
dbug: 18. 08. 2022 13:49:55.465 CoreEventId.SaveChangesCompleted[10005] (Microsoft.EntityFrameworkCore.Update)
SaveChanges completed for 'TestDbContext' with 1 entities written to the database.
P:\C#Projects\EFCoreEncryptionTest\bin\Debug\net6.0\EFCoreEncryptionTest.exe (process 49672) exited with code -1.
To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops.
Press any key to close this window . . .Include provider and version information
Include provider and version information
EF Core version: 6.0
Database provider: Microsoft.EntityFrameworkCore.Sqlite.Core 6.0.8 and SQLitePCLRaw.bundle_e_sqlcipher 2.1.0
Target framework: NET Core 6.0
Operating system: Windows 10
IDE: Visual Studio 2022
Simple test project
EFCoreEncryptionTest.zip
Activity
ajcvickers commentedon Aug 18, 2022
@iplusMario Is the performance significantly better when you don't use EF?
ericsink commentedon Aug 18, 2022
Are you opening and closing the db connection for each transaction? That is a performance killer with sqlcipher.
ajcvickers commentedon Aug 18, 2022
@ericsink We have connection pooling by default now, so this shouldn't be an issue in a typical app.
bricelam commentedon Aug 18, 2022
Hmm, I thought we had an issue to investigate this, but I can't seem to find it.
bricelam commentedon Aug 18, 2022
My theory is that sending the
PRAGMA keystatement again after we retrieve the internal connection from the pool is causing it to re-derive the encryption key making it just as slow as before pooling. SendingPRAGMA keyshouldn't be required in this situation and we should avoid sending it.iplusMario commentedon Aug 19, 2022
We have now tried encrypting the SQLite database with SQLitePCLRaw.bundle_zetetic 2.1.0 and the zetetic-sqlcipher-windows 4.5.2 driver.
We noticed in the logs that the connection to the database is not terminated after each query execution.
If you look at the log above, you will see that the connection is terminated after each query execution.
Include provider and version information
EF Core version: 6.0
Database provider: Microsoft.EntityFrameworkCore.Sqlite.Core 6.0.8, SQLitePCLRaw.bundle_zetetic 2.1.0 and zetetic-sqlcipher-windows 4.5.2
Target framework: NET Core 6.0
Operating system: Windows 10
IDE: Visual Studio 2022
bricelam commentedon Sep 2, 2022
Confirmed. Re-sending
PRAGMA keyis slowing it waaaay down. I'll prepare a fix and discuss with the team whether we should patch 6.0./cc @james1301 @LauraLaura (Sorry it took so long to investigate this.)
Microsoft.Data.Sqlite: Avoid re-initialization of pooled connections
james1301 commentedon Sep 12, 2022
Thanks @bricelam, any outcome about patching 6.0? Would be a big boost 🙂
ajcvickers commentedon Sep 12, 2022
@james1301 We plan to bring this to 6.0, but it needs to go through the internal process and get approved first.
james1301 commentedon Sep 12, 2022
@ajcvickers awesome thanks for the update. And now I have actually seen that other issue for 6.0 so apologies for me being a bit blind 🙂
iplusMario commentedon Jan 30, 2023
@bricelam After your commits were merged in 6.0.11 the Database.Migrate() fails with dll error stated below.
Simple test project
In EFCoreEncryptionTest.zip update entity framework nuget packages to a version > 6.0.10 and in TestDbContext add Database.Migrate() and you will get Unhandeled execption.
roji commentedon Jan 30, 2023
@iplusMario can you please open a new issue?