I'm on MVC .Net Core 3.1 & EFCore using EntityFrameworkCore.EncryptColumn Version 3.1.0
I'm getting the following error when I create a migration on an existing table in my database.
Error: You should create encryption provider. (Parameter 'encryptionProvider')
Currently my DbContext looks thusly (the key is just a random GUID I generated for testing purposes):
I have DTO with the property SSN
The project builds, but again the error happens I create the migration. As far as I understand, isn't the provider being created when the Context is newed-up, or on application start?
I'm on MVC .Net Core 3.1 & EFCore using EntityFrameworkCore.EncryptColumn Version 3.1.0
I'm getting the following error when I create a migration on an existing table in my database.
Error: You should create encryption provider. (Parameter 'encryptionProvider')
Currently my DbContext looks thusly (the key is just a random GUID I generated for testing purposes):![image](https://user-images.githubusercontent.com/50371033/144508344-050d5686-27fd-4985-bee3-ae431bd3acb2.png)
I have DTO with the property SSN![image](https://user-images.githubusercontent.com/50371033/144508594-05addaa1-c2cb-4f89-9331-778583da3b33.png)
The project builds, but again the error happens I create the migration. As far as I understand, isn't the provider being created when the Context is newed-up, or on application start?