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
protected virtual int DoDelete(Row row, IDataStoreKey key = null)
            {
               int dummy;
               int idx = SearchForRow(row, out dummy);
               if (idx<0) return -1;
               m_List.RemoveAt(idx);
               return idx;
            }
protected virtual int DoDelete ( Row row , IDataStoreKey key = null ) { int dummy ; int idx = SearchForRow ( row , out dummy ) ; if ( idx < 0 ) return - 1 ; m_List . RemoveAt ( idx ) ; 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