RowsetBase DoUpsert Method NFX Class Library

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

Tries to find a row with the same set of key fields in this table and if found, replaces 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

protected virtual bool DoUpsert(
	Row row,
	Func<Row, bool> updateWhere
)

Parameters

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

Return Value

Type: OnlineBoolean
See Also