using converters with mapped fielsds

3 posts, 1 answers
  1. Issam
    Issam avatar
    18 posts
    Member since:
    Sep 2008

    Posted 09 Sep 2014 Link to this post

    Hi,

    is it possible to apply a converter to a mapped field ?

    i have a password field in my database that i want to add an encrypt/decrypt converter to it in my WPF application

    thanks and good day
  2. Answer
    Ady
    Admin
    Ady avatar
    588 posts

    Posted 12 Sep 2014 Link to this post

    Hi Issam,

     Yes, it is possible to a apply a custom converter implementation to a mapped field. You can write your own type converter and specify the fully qualified type name in the designer so that this converter is used by Data Access during runtime.
    You can find more information here and a sample converter implementation, here.

    Do get back in case you need further assistance.

    Regards,
    Ady
    Telerik
     
    OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
     
  3. DevCraft banner
  4. Issam
    Issam avatar
    18 posts
    Member since:
    Sep 2008

    Posted 13 Sep 2014 in reply to Ady Link to this post

    perfect ,i will try that !

    really appreciate .
Back to Top