bool isLineGroupEnd(DataRow row) { tableWhereRecodrType type = (tableWhereRecodrType)row[TableDUMMY.TYPE]; if (type == tableWhereRecodrType.groupEnd) { return(true); } return(false); }
bool isLineCommon(DataRow row) { tableWhereRecodrType type = (tableWhereRecodrType)row[TableDUMMY.TYPE]; if (type == tableWhereRecodrType.common) { return(true); } return(false); }
private bool isNeedBool(DataRow row) { tableWhereRecodrType typePar = (tableWhereRecodrType)row[TableDUMMY.TYPE]; if ((typePar == tableWhereRecodrType.common) || (typePar == tableWhereRecodrType.groupBegin)) { int indx = row.Table.Rows.IndexOf(row) - 1; if (indx >= 0) { tableWhereRecodrType typeCur = (tableWhereRecodrType)row.Table.Rows[indx][TableDUMMY.TYPE]; if ((typeCur == tableWhereRecodrType.common) || (typeCur == tableWhereRecodrType.groupEnd)) { return(true); } } } return(false); }