Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: string SqlEscape(this string)

Declaration

public static string SqlEscape(
    this string input
)

Summary

Returns an SQL-compatible representation of the string in single-quotes with the appropriate characters escaped.

Parameters

this stringinput String to escape.

Returns

SQL-compatible representation of the input string.