RowsetBase Upsert Method NFX Class Library

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

Tries to find a row for update and if found, updates it and returns true, otherwise inserts the row (if schemas match) and returns false. Optionally pass updateWhere condition that may check whether update needs to be performed

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

public bool Upsert(
	Row row,
	Func<Row, bool> updateWhere = null
)

Parameters

row
Type: NFX.DataAccess.CRUD Row
updateWhere (Optional)
Type: OnlineSystem Func Row, OnlineBoolean 

Return Value

Type: OnlineBoolean
See Also