Shunde.NET Framework Class Library

DBUtils.ParseSql Method

Converts a boolean into the SQL equivalent

Overload List

Converts a boolean into the SQL equivalent

public static string ParseSql(Boolean);

Parse a date-time, to be put into SQL Server

public static string ParseSql(DateTime);

Converts an int Value into the SQL equivalent, or NULL if int = int.MinValue

public static string ParseSql(Int32);

Escapes all apostrophes in an SQL Statement.

public static string ParseSql(String);

Escapes all apostrophes in an SQL Statement.

public static string ParseSql(String,Boolean);

See Also

DBUtils Class | Shunde.Utilities Namespace