public static Unescaped String(object value) { Unescaped retVal = new Unescaped("NULL"); if (value != null) { retVal = new Unescaped(value.ToString()); } return(retVal); }
public static Unescaped MySQLQuotedTimeOnly(DateTime dt) { return(Unescaped.String(String.Format("'{0:HH:mm:ss}'", dt))); }
public static Unescaped MySQLQuotedDateOnly(DateTime dt) { return(Unescaped.String(String.Format("'{0:yyyy-MM-dd}'", dt))); }