Source/NFX/DataAccess/CRUD/RowsetBase.cs
/// <summary>
/// Tries to find a row with the same set of key fields in this table and if found, deletes it and returns its index, otherwise -1
/// </summary>
Tries to find a row with the same set of key fields in this table and if found, deletes it and returns its index, otherwise -1
Tries to find a row with the same set of key fields in this table and if found deletes it and returns its index otherwise - 1
public int Delete(Row row, IDataStoreKey key = null)
            {
               Check(row);
               var idx = DoDelete(row, key);
               if (idx>=0 && m_Changes!=null) m_Changes.Add( new RowChange(RowChangeType.Delete, row, null) );
               return idx;
            }
public int Delete ( Row row , IDataStoreKey key = null ) { Check ( row ) ; var idx = DoDelete ( row , key ) ; if ( idx >= 0 && m_Changes != null ) m_Changes . Add ( new RowChange ( RowChangeType . Delete , row , null ) ) ; return idx ; }
Tries to find a row with the same set of key fields in this table and if found, deletes it and returns its index, otherwise -1
Tries to find a row with the same set of key fields in this table and if found deletes it and returns its index otherwise - 1
row
Row
key
IDataStoreKey