Method Match
| Improve this Doc View SourceMatch(IReadOnlyList<Column>, DataRow)
Matches underlying rows with provided primary key value(s) from other DataSet.
Declaration
public RowPresenter Match(IReadOnlyList<Column> columns, DataRow dataRow = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IReadOnlyList<Column> | columns | The columns of other DataSet's primary key. |
DataRow | dataRow | The DataRow of other DataSet. |
Returns
Type | Description |
---|---|
RowPresenter | The matched RowPresenter, null if no matched row. |
Match(RowPresenter, Boolean)
Matches underlying rows with provided RowPresenter from other data presenter.
Declaration
public RowPresenter Match(RowPresenter rowPresenter, bool matchVirtual = true)
Parameters
Type | Name | Description |
---|---|---|
RowPresenter | rowPresenter | The provided RowPresenter from other data presenter. |
System.Boolean | matchVirtual | Indicates whether virtual row should be included. |
Returns
Type | Description |
---|---|
RowPresenter | The matched RowPresenter, null if no matched row. |