Escape Method

Design Pattern Framework 3.5

Design Pattern Framework 3.5 Escape Method
Patterns-In-Action! ApplicationDataObjects.AdoNetDbEscape()()()
Members
Icon Member Description
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.

Escape(String, Int32)
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). Also trims string at a given maximum length. If input string is null or empty a NULL string is returned.

Assembly: DataObjects (Module: DataObjects) Version: 1.0.0.0 (1.0.0.0)