public void OnClickUpdateORM() { if (idx <= 0) { SceneManager.Instance.PopUp ("Select from the list.", PopUpType.Ok); return; } if (UIException ()) { return; } Board data = new Board (GetInputValue (uName), GetInputValue (description)); query.UPDATE<Board> (data, "board.idx", idx); ListView (); }
public void OnClickInsertORM() { if (UIException ()) { return; } Board data = new Board (GetInputValue (uName), GetInputValue (description)); query.INSERT<Board> (data); ListView (); }