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)); }
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); }
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); }