Skip to content

Commit bd98019

Browse files
committed
Update README.md
1 parent f1baf52 commit bd98019

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
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();

0 commit comments

Comments
 (0)