public string ToSqlText(DataParameterCollection dpc, Dialect.DbDialect dd) { return(string.Format("{0}.{1} {4} {2}.{3}", dd.QuoteForTableName(Table1), dd.QuoteForColumnName(Key1), dd.QuoteForTableName(Table2), dd.QuoteForColumnName(Key2), StringHelper.EnumToString(Comp))); }
public override string ToString(Dialect.DbDialect dd) { return(dd.QuoteForColumnName(Key) + " DESC"); }
public virtual string ToString(Dialect.DbDialect dd) { return(dd.QuoteForColumnName(Key) + " ASC"); }