Exemplo n.º 1
0
 /// <summary>
 /// 移除指定索引的数据
 /// </summary>
 /// <param name="rowIndex">行索引</param>
 public virtual void removeAt(int rowIndex)
 {
     try {
         m_keys.remove_at(rowIndex);
         FCDataRow row = m_rows.get(rowIndex);
         row.clear();
         m_rows.remove_at(rowIndex);
     }
     catch { }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 移除数据
 /// </summary>
 /// <param name="pk">主键</param>
 public virtual void remove(double pk)
 {
     try {
         int index = getRowIndex(pk);
         m_keys.remove_at(index);
         FCDataRow row = m_rows.get(index);
         row.clear();
         m_rows.remove_at(index);
     }
     catch { }
 }