[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.CRUDAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
protected virtual bool DoUpsert(
Row row,
Func<Row, bool> updateWhere
)
protected virtual bool DoUpsert(
Row row,
Func<Row, bool> updateWhere
)
Protected Overridable Function DoUpsert (
row As Row,
updateWhere As Func(Of Row, Boolean)
) As Boolean
Protected Overridable Function DoUpsert (
row As Row,
updateWhere As Func(Of Row, Boolean)
) As Boolean
protected:
virtual bool DoUpsert(
Row^ row,
Func<Row^, bool>^ updateWhere
)
protected:
virtual bool DoUpsert(
Row^ row,
Func<Row^, bool>^ updateWhere
)
abstract DoUpsert :
row : Row *
updateWhere : Func<Row, bool> -> bool
override DoUpsert :
row : Row *
updateWhere : Func<Row, bool> -> bool
abstract DoUpsert :
row : Row *
updateWhere : Func<Row, bool> -> bool
override DoUpsert :
row : Row *
updateWhere : Func<Row, bool> -> bool
Return Value
Type:
Boolean