コード例 #1
0
        bool isLineGroupEnd(DataRow row)
        {
            tableWhereRecodrType type = (tableWhereRecodrType)row[TableDUMMY.TYPE];

            if (type == tableWhereRecodrType.groupEnd)
            {
                return(true);
            }
            return(false);
        }
コード例 #2
0
        bool isLineCommon(DataRow row)
        {
            tableWhereRecodrType type = (tableWhereRecodrType)row[TableDUMMY.TYPE];

            if (type == tableWhereRecodrType.common)
            {
                return(true);
            }
            return(false);
        }
コード例 #3
0
        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);
        }