예제 #1
0
 public static string ConvertToString(FilterJoin.Types join)
 {
     switch (join)
     {
         case Types.InnerJoin:
             return "INNER JOIN";
         case Types.LeftJoin:
             return "LEFT JOIN";
         case Types.RightJoin:
             return "RIGHT JOIN";
         case Types.FullJoin:
             return "FULL JOIN";
         default:
             break;
     }
     return null;
 }
예제 #2
0
 public JoinFilter(FilterJoin.Types type, IFilter comparisonFilter, IFilter tableName)
 {
     Type = type;
     ComparisonFilter = comparisonFilter;
     TableName = tableName;
 }