Source/NFX/DataAccess/CRUD/RowsetBase.cs
/// <summary>
/// Updates the row, Returns the row index or -1
/// </summary>
Updates the row, Returns the row index or -1
Updates the row Returns the row index or - 1
public UpdateResult Update(Row row, IDataStoreKey key = null, Func<Row, Row, Row> rowUpgrade = null)
            {
                Check(row);
                var idx = DoUpdate(row, key, rowUpgrade);
                if (idx>=0 && m_Changes!=null) m_Changes.Add( new RowChange(RowChangeType.Update, row, key) );
                return new UpdateResult(idx, true);
            }
public UpdateResult Update ( Row row , IDataStoreKey key = null , Func < Row , Row , Row > rowUpgrade = null ) { Check ( row ) ; var idx = DoUpdate ( row , key , rowUpgrade ) ; if ( idx >= 0 && m_Changes != null ) m_Changes . Add ( new RowChange ( RowChangeType . Update , row , key ) ) ; return new UpdateResult ( idx , true ) ; }
Updates the row, Returns the row index or -1
Updates the row Returns the row index or - 1
row
Row
key
IDataStoreKey
rowUpgrade
Func<Row, Row, Row>