Shunde.NET Framework Class Library

DBColumn.GetSqlText Method 

Gets the Value of this object in a suitable manner for use in SQL statements

public string GetSqlText(
   Object value
);

Remarks

string values will have apostrophes escaped, and be enclosed by apostrophes. Varchar columns will also have the string.Trim method called on them. Null values will be returned as "null", and all other types are converted to an appropriate string representation.

See Also

DBColumn Class | Shunde.Framework Namespace