See also:
NTier Windows Forms Framework Home
NTier Framework API reference
NTier Windows Forms Framework Home
NTier Framework API reference
Classes
Class | Description | |
---|---|---|
![]() | BoundControlAction |
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.
|
![]() | BoundControlActionBase |
A base class for actions that require the hosting control (or one of it's parents)
to be bound to a data source.
|
![]() | BoundControlActionEventArgs |
Event arguments for the BoundControlAction.Execute event.
|
![]() | FormCloseAction |
An action that can be applied to a form and closes the form when run.
|
![]() | FormCommitAction |
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. |
![]() | FormDeleteAction |
An action that deletes the current entity.
If the entity implements ISupportDeactivate.Deactivate(), it is called in place of Delete().
|
![]() | FormDeleteAndSaveAction |
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()).
|
![]() | FormSaveAction |
An action that saves a form's bound data to the underlying data source using IEntitySet.Save().
|
![]() | FormSaveAndCloseAction |
An action that saves a form's bound data to the underlying data source using IEntitySet.Save(),
and closes the form.
|
![]() | FormShowAction |
An action that shows a form to edit and commit an entity, or entity collection.
|
![]() | FormShowActionBase |
A base action that shows a form to edit and commit an entity, or entity collection.
|
![]() | FormShowActionBase..::..FormShowEventArgs |
Event arguments for the BeforeFormShow and FormShow events.
|
![]() | FormShowNewAction |
An action that creates a new entity on a collection and shows a form to edit and commit that entity.
|
![]() | FormValidateAction |
Validates the data on the form and prevents subsequent actions from running
if there is a validation error.
|
![]() | QueryEntityToEditEventArgs |
Event arguments for the QueryEntityToEdit event.
|
Enumerations
Enumeration | Description | |
---|---|---|
![]() | FormShowActionBase..::..ReportedError |
An enum that specifies which error message is reported to the user.
|