Design Pattern Framework 3.5
Escape Method (s)
Patterns-In-Action! Application ► DataObjects.AdoNet ► Db ► Escape(String)
Escapes an input string for database processing, that is,
surround it with quotes and change any quote in the string to
two adjacent quotes (i.e. escape it).
If input string is null or empty a NULL string is returned.
Declaration Syntax
Parameters
- s (String)
- Input string.
Return Value
Escaped output string.