예제 #1
0
 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)));
 }
예제 #2
0
파일: DESC.cs 프로젝트: sfltd/DbEntry
 public override string ToString(Dialect.DbDialect dd)
 {
     return(dd.QuoteForColumnName(Key) + " DESC");
 }
예제 #3
0
 public virtual string ToString(Dialect.DbDialect dd)
 {
     return(dd.QuoteForColumnName(Key) + " ASC");
 }