locked
Custom Save/Load logic for entities RRS feed

  • Question

  • I'm not all too experienced with the Entity Framework and it's customizability so I have a question.

    Is there is a good way to do custom Save/Load logic for entities in the Entity Framework? For example, I have some values in one of my entity classes which I'd like to encrypt in a database table, so I essentially want to encrypt the value on save and decrypt it on load from the database. I might even want to concatenate (with some delimiter) two properties from a class, encrypt them and store in a column in the database. Then on load, decrypt them, and split them into their properties again.

    Is there a good way to do this custom stelp in EF?

    Friday, July 23, 2010 9:02 AM

Answers

All replies