[This is preliminary documentation and is subject to change.]

The BusinessProcess type exposes the following members.

Constructors

  NameDescription
BusinessProcessOverloaded.

Methods

  NameDescription
AddAllColumns
Adds all the columns of the Entity determined in the From property, and all the entities specified in the Relations property to the Columns property collection.
BindKeepViewVisibleAfterExit
Sets an expression that will determine the value of the KeepViewVisibleAfterExit property.
DeleteRowAfterLeavingItIf
Sets an expression that determines if the current row will be deleted once left.
DeltaOf
Returns The delta between the value of expression before the EnterRow event, and the current value of expression
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExitOverloaded.
Instructs the BusinessProcess to exit.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
ForEachRow
Performs the specified action on each row that matches the Where property filter.
ForFirstRow
Performs the specified action on the first row that matches the Where property filter.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InvokeOverloaded.
Invokes a customCommandKey that will be handled by an Handler.
LockCurrentRow
Locks the current row for the Entity specified in the From property , and all the entities specified in the Relations property collection.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
RaiseOverloaded.
Raises a command that will be handled by an Handler.
ReadAllRows
Used for quick, read-only pass over all the rows of the BusinessProcess.
Run
Runs the BusinessProcess
ToString (Overrides Object..::.ToString()()().)

Properties

  NameDescription
Activity
Determines the main activity to be performed in this BusinessProcess
AllowUserAbort
Gets or sets the value determining if the BusinessProcess will listen to certain inputs from the user that will cause it to terminate.
Columns
Gets the columns that are used in this BusinessProcess
Counter
Returns the number of cycles started so far.
CurrentHandledCommand
Return the currently handled command
CurrentHandledKey
Return the currently handled key combination
Entities
Gets entities that are associated to this BusinessProcess by the From property and Relations property
From
Determines the Entity who's rows the BusinessProcess will perform it's iteration on.
Groups
Gets the value determining the BusinessProcess's groups
Handlers
Gets the value determining the BusinessProcess's handlers
InTransaction
Gets the value determining if a transaction is currently open.
KeepViewVisibleAfterExit
Gets or sets the value determining if the BusinessProcess's form should remain visible after the BusinessProcess exits.
Module
Gets or sets the value determining the ModuleController to whom this BusinessProcess is associated
OnDatabaseErrorRetry
Gets or sets the value determining if when there is a database error the BusinessProcess will try to recover
OrderBy
Gets or sets the value determining order in which the rows are ordered
Relations
Get this BusinessProcess relations
RowChanged
Indicates if the current row has changed.
RowLocking
Gets or sets the value determining the BusinessProcess's row locking strategy
ShowView
Gets or sets the value determining if the view specified in the View property should be displayed when this BusinessProcess is executed.
Title
Gets or sets the BusinessProcess's title
TransactionScope
Gets or sets the value determining the BusinessProcess's transaction scope
TransactionScopeGroup
UserInterfaceRefreshInterval
sets the value determining the interval in milliseconds for the user interface refresh
View
Determines the form to be displayed while this BusinessProcess is running
Where
Gets the value determining the filter that will be applied on the rows of this BusinessProcess.

Events

  NameDescription
DatabaseErrorOccurred
Occurs when a database error occurs and after all the DatabaseErrorHandler processed the error.
End
Occurs when the BusinessProcess ends. Raised once for each Run()()() method. Preserves the last row data.
EnterRow
Occurs when a row is entered by this BusinessProcess and after that row was loaded from the database.
LeaveRow
Occurs when A Row is left, and before it is saved to the database.
Load
Occurs when the BusinessProcess is executed, before the Start event and before the database query is constructed. Raised once for each Run()()() method.
PreviewDatabaseError
Occurs when a database error occurs and before all the DatabaseErrorHandler process the error.
ProcessingCommand
SavingRow
Occurs when the BusinessProcess is about to save the row
Start
Occurs when starts and after the Load event. Raised once for each Run()()() method.

See Also