FormModel Save TSaveResult  Method (TSaveResult )NFX Class Library

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

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

Namespace: NFX.DataAccess.CRUD
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public virtual Exception Save<TSaveResult>(
	out TSaveResult saveResult
)

Parameters

saveResult
Type: TSaveResult 
Type Parameters

TSaveResult

Return Value

Type: OnlineException
See Also