emrekizildas / EntityFrameworkCore.EncryptColumn

Encrypt & Decrypt your databases columns using EntityFramework Core.
MIT License
87 stars 40 forks source link

Apply EncryptColumn with FluentAPI #4

Open brian-swart opened 3 years ago

brian-swart commented 3 years ago

I define my column attributes in a different namespace than my model classes. Is it possible to use FluentAPI to set the EncryptColumn setting?

emrekizildas commented 2 years ago

Can you explain your comment with an example?

IamMartinPeek commented 1 year ago

I will bring this back to the table. I would like as well to add it to the fluent api. So you can configure the columns by fluent api to be encrypted. In the method: protected override void OnModelCreating(ModelBuilder modelBuilder) of database context.

so you have a extension method on the PropertyBuilder like IsEncrypted() or something :)

NinjaCross commented 1 year ago

I like this proposals, and I would pair it with the one I made in #18

xts-velkumars commented 4 months ago

@NinjaCross, Any updates on FluentApi ?

NinjaCross commented 4 months ago

@NinjaCross, Any updates on FluentApi ?

@xts-velkumars I'm not the owner of the project :)