Exemplo n.º 1
0
        private void PerformCommand()
        {
            ChangeViewBehaviour();

            if (_selectedAction == "Insert")
            {
                _viewBehaviour.Insert();
            }
            else if (_selectedAction == "Update")
            {
                _viewBehaviour.Update();
            }
            else if (_selectedAction == "Delete")
            {
                _viewBehaviour.Delete();
            }
            else if (_selectedAction == "Select")
            {
                _viewBehaviour.Select();
            }
            else if (_selectedAction == "SelectAll")
            {
                _viewBehaviour.SelectAll();
            }
        }