Persistate API documentation
ExecuteNew Method (execution)
NamespacesPersistateStandardOperationsExecuteNew(Execution)

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

Handles the core functionality for the New operation.
Declaration Syntax
C#
public static ExecutionResult ExecuteNew(
	Execution execution
)
Parameters
execution (Execution)
The Execution object created for the New operation
Return Value
NoActionResult if no object was created, or else an ExecutionResult with ResultAction of Commit and with the Result containing the new object.
Remarks
If the target collection is diverse, this first puts up a small dialogue box using UserInterface.ChooseOne, requesting that the user select the class of object to create. The new object is then created and displayed for data entry in the best available Layout, using UserInterface.ShowModalOkCancel. if the user clicks OK, then the new object is added to the target collection.

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)