This project is read-only.

In-place migration of existing data

Sep 27, 2013 at 2:36 PM
I'm interested in adopting SecurEntity, but I have a chicken and egg problem: data already exists in the tables that I'd like to encrypt. Can you offer some guidance on whether an in-place migration of existing is possible, and if so how it can be done? Thanks!
Sep 30, 2013 at 5:38 PM
I wouldn't do in-place, per se, but rather read plaintext objects one by one from existing tables and write them to new tables. The way to do this is with a custom tool that understands your schema. The tool will reference two database contexts, and two data models: the existing plaintext one and the new one that implements SecurEntity.