c# - Mapping single table column to Complex type -


i want know if possible map single column sql complex property on model, using entityframework.

here code better understand.

interface isecret {  guid encryptedvalue{get;set;}  string decryptedvalue{get;set;       } 

in database might have column type has got encrypted. want map encrypted column property of type isecret, decryptionservice can decrypt properties of isecret.

i hope possible , hope understand trying do.


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

The canvas has been tainted by cross-origin data in chrome only -