Method AutoSelect
| Improve this Doc View SourceAutoSelect(CandidateKey, DataRow)
Automatically select all CandidateKey columns and their data values for specified DataRow.
Declaration
public int AutoSelect(CandidateKey key, DataRow dataRow)
Parameters
| Type | Name | Description |
|---|---|---|
| CandidateKey | key | The CandidateKey. |
| DataRow | dataRow | The specified DataRow. |
Returns
| Type | Description |
|---|---|
| System.Int32 | Number of columns selected. |
AutoSelect(Projection, DataRow, Boolean)
Automatically select all columns of Projection for specified DataRow.
Declaration
public int AutoSelect(Projection projection, DataRow dataRow, bool ignoreExpression = true)
Parameters
| Type | Name | Description |
|---|---|---|
| Projection | projection | The Projection object. |
| DataRow | dataRow | The specified DataRow. |
| System.Boolean | ignoreExpression | Specifies whether expression column should be excluded. |
Returns
| Type | Description |
|---|---|
| System.Int32 |