FormModel Save Method NFX Class Library

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

Overload List

  NameDescription
Public methodSave(Object )
Saves form into data store. The form is validated first and validation error is returned which indicates that save did not succeed due to validation error/s. The core implementation is in DoSave() that can also abort by either returning execption when predictable failure happens on save (i.e. key violation). Other exceptions are thrown. Returns extra result obtained during save i.e. a db-assigned auto-inc field
Public methodSave TSaveResult (TSaveResult )
Saves form into data store. The form is validated first and validation error is returned which indicates that save did not succeed due to validation error/s. The core implementation is in DoSave() that can also abort by either returning execption when predictable failure happens on save (i.e. key violation). Other exceptions are thrown. Returns extra result obtained during save i.e. a db-assigned auto-inc field
Back to Top
See Also