/// <summary> /// 移除指定索引位置的DBrecord对象 /// </summary> /// <param name="index"></param> /// <returns></returns> public DBRecord RemoveAt(int index) { DBRecord record = recordContainer[index]; recordContainer.RemoveAt(index); return(record); }
/// <summary> /// 添加DBRecord对象并返回新添加的对象 /// </summary> /// <param name="record"></param> /// <returns></returns> public DBRecord Add(DBRecord record) { recordContainer.Add(record); return(record); }