CodeSmith Community
Your Code. Your Way. Faster!

Mark a database field as needing encoding?

Latest post 12-14-2007 6:13 AM by larrym996. 0 replies.
  • 12-14-2007 6:13 AM

    • larrym996
    • Not Ranked
    • Joined on 11-22-2005
    • Posts 2
    • Points 10

    Mark a database field as needing encoding?

    Some fields of the database are strings from user input, that need encoding (like single quote to 2 quotes).

    Is there any way to mark these fields as needing encoding so that updates and inserts are automatically encoded properly?

    Is see that Find parameters are properly encoded.

    In the mean time I did an override of Update, Insert and Fill to encode/decode the strings.

    Thanks

    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems