File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 99
1010## Disclaimer
1111
12- This library has been developed initialy for a personal project of mine. It provides a simple way to encrypt column data.
12+ This library has been developed initialy for a personal project of mine which suits my use case . It provides a simple way to encrypt column data.
1313
14- I ** do not** take responsability if you use this in a production environment and loose your encryption key or corrupt your data.
14+ I ** do not** take responsability if you use/deploy this in a production environment and loose your encryption key or corrupt your data.
1515
1616## How to install
1717
@@ -111,6 +111,7 @@ public class DatabaseContext : DbContext
111111
112112 protected override void OnModelCreating (ModelBuilder modelBuilder )
113113 {
114+ // Entities builder *MUST* be called before UseEncryption().
114115 var userEntityBuilder = modelBuilder .Entity <UserEntity >();
115116
116117 userEntityBuilder .Property (x => x .Username ).IsRequired ().IsEncrypted ();
You can’t perform that action at this time.
0 commit comments