It is a pretty long task but completely possible using NH.
You have to implements all IType needed (int, long, DateTime, string etc.
etc.) calling it eint, elong, eDateTime, estring etc. etc.
Then you have to use your types in your mappings (pretty easy to do if you
are using ConfORM or FNH).

Another pretty cool short-cut is using reflection+expression_based_delegates
to hack TypeFactory cleaning the typeAliases field and then fill it
using RegisterType with your implementations of IType.

That should be all.


On Wed, Aug 25, 2010 at 11:20 AM, Sal <[email protected]> wrote:

> OK, here goes. This topic has come up several times over the past few
> years, with no real solid answer. I'm hoping maybe this time there we
> will be some help.
>
> I have the unfortunate experience of dealing with a client who insists
> on using column level encryption in sql server, not just the newer
> TDE. This usually means using a sql function to encrypt/decrypt the
> column during queries and inserts/updates. Is there any guidance
> around implementing this with Nhibernate....without sprocs???
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>
>


-- 
Fabio Maulo

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to