Click here to Skip to main content
15,886,864 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
OPEN SYMMETRIC KEY mykey
DECRYPTION BY PASSWORD = N'xyz+';
select CONVERT(varchar(15),DecryptByKey(empname)) from emptable

This is how we retrive using sql. How to do the same thing with entity framework using lambda expressions
Posted
Comments
John C Rayan 22-Apr-15 7:07am    
Why can't you use SP for this?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900