コード例 #1
0
        public bool CanRead(Session session, Row row, int mode, int[] colMap)
        {
            RowAction rowAction = row.rowAction;

            if (mode == 0)
            {
                return((rowAction == null) || rowAction.CanRead(session, 0));
            }
            if (mode == 2)
            {
                return((rowAction == null) || rowAction.CanRead(session, 0));
            }
            return((rowAction == null) || rowAction.CanRead(session, mode));
        }
コード例 #2
0
        public bool CanRead(Session session, int id, int mode)
        {
            RowAction action = base.RowActionMap.Get(id);

            if (action != null)
            {
                return(action.CanRead(session, mode));
            }
            return(true);
        }
コード例 #3
0
        public bool CanRead(Session session, Row row, int mode, int[] colMap)
        {
            RowAction rowAction = row.rowAction;

            if (rowAction != null)
            {
                return(rowAction.CanRead(session, 0));
            }
            return(true);
        }