Example #1
0
 private void RemoveLastCommaAndSpaceIfThereAreAnyColumns(StringBuilder selectBuilder)
 {
     if ((ColumnInfos.Count() + References.Count()) > 0)
     {
         RemoveLastCharacters(selectBuilder, 2);
     }
 }
Example #2
0
 /// <summary>
 /// 判定是否有了对应列
 /// </summary>
 /// <param name="columnKey"></param>
 /// <returns></returns>
 public bool HaveColumn(string columnKey) => ColumnInfos != null && ColumnInfos.Count(o => o.ColumnKey == columnKey) > 0;