See also:
NTier Windows Forms Framework Home
NTier Framework API reference

 

Classes

  ClassDescription
Public classBoundControlAction
An action that is bound to the selected item of a data source. This action has the following behaviours: - The Enabled property of the parent button is set to false if there are no collection items present. - The Execute event is raised when the action is executed.
Public classBoundControlActionBase
A base class for actions that require the hosting control (or one of it's parents) to be bound to a data source.
Public classBoundControlActionEventArgs
Event arguments for the BoundControlAction.Execute event.
Public classFormCloseAction
An action that can be applied to a form and closes the form when run.
Public classFormCommitAction
This action performs a 'commit' action. A commit action is defined by use cases such as the following:

Save action on commit
1. FormShowAction is executed on form A - the CommitActions property is set to an instance of FormSaveAction
(note that the save action is the default, so it doesn't have to be set explicitly)
2. Form A is shown
3. Form A handles FormCommitAction.CommitActionsChanged event to update it's appearance,
in this case the button should be labelled 'save'.
4. Form A is shown, 'commit' button is clicked.
5. The FormCommitAction action is executed, which runs the FormSaveAction action.

Delete action on commit
1. FormShowAction is executed on form B - the CommitActions property is set to an instance of FormDeleteAndSaveAction
2. Form B is shown
3. form B handles FormCommitAction.CommitActionsChanged event to update it's appearance,
in this case the button should be labelled 'delete'.
4. The FormCommitAction action is executed ('delete' button clicked), which runs the FormDeleteAndSaveAction action.
Public classFormDeleteAction
An action that deletes the current entity. If the entity implements ISupportDeactivate.Deactivate(), it is called in place of Delete().
Public classFormDeleteAndSaveAction
An action that deletes an entity (by calling IEntity.Delete() or ISupportDeactivate.Deactivate()) and saves the changes to the underlying data store (by calling IEntitySet.Save()).
Public classFormSaveAction
An action that saves a form's bound data to the underlying data source using IEntitySet.Save().
Public classFormSaveAndCloseAction
An action that saves a form's bound data to the underlying data source using IEntitySet.Save(), and closes the form.
Public classFormShowAction
An action that shows a form to edit and commit an entity, or entity collection.
Public classFormShowActionBase
A base action that shows a form to edit and commit an entity, or entity collection.
Public classFormShowActionBase..::..FormShowEventArgs
Event arguments for the BeforeFormShow and FormShow events.
Public classFormShowNewAction
An action that creates a new entity on a collection and shows a form to edit and commit that entity.
Public classFormValidateAction
Validates the data on the form and prevents subsequent actions from running if there is a validation error.
Public classQueryEntityToEditEventArgs
Event arguments for the QueryEntityToEdit event.

Enumerations

  EnumerationDescription
Public enumerationFormShowActionBase..::..ReportedError
An enum that specifies which error message is reported to the user.