public void Removeزیر_نوعRow(زیر_نوعRow row) { this.Rows.Remove(row); }
public زیر_نوعRowChangeEvent(زیر_نوعRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public void Addزیر_نوعRow(زیر_نوعRow row) { this.Rows.Add(row); }
public کالاRow AddکالاRow(string شناسه, System.DateTime تاریخ_خرید, System.DateTime اتمام_گارانتی, string مالکیت, string مدل, زیر_نوعRow parentزیر_نوعRowByFK2, فروشندهRow parentفروشندهRowByFK3, string وضعیت) { کالاRow rowکالاRow = ((کالاRow)(this.NewRow())); object[] columnValuesArray = new object[] { شناسه, تاریخ_خرید, اتمام_گارانتی, مالکیت, مدل, null, null, وضعیت}; if ((parentزیر_نوعRowByFK2 != null)) { columnValuesArray[5] = parentزیر_نوعRowByFK2[0]; } if ((parentفروشندهRowByFK3 != null)) { columnValuesArray[6] = parentفروشندهRowByFK3[0]; } rowکالاRow.ItemArray = columnValuesArray; this.Rows.Add(rowکالاRow); return rowکالاRow; }