Click or drag to resize

BcfPrimaryKeySelect Method

[This is preliminary documentation and is subject to change.]

Finds rows with the specified primary key values.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta7
Syntax
public IEnumerable<BcfRow> Select(
	params Object[] keyValues
)

Parameters

keyValues
Type: SystemObject
The primary key values.

Return Value

Type: IEnumerableBcfRow
The row with the specified primary key values if found; otherwise null.
Exceptions
ExceptionCondition
ArgumentNullExceptionkeyValues is null.
ArgumentException

keyValues length must match the number of key columns

or

Failed to convert an object in keyValues into column type using TryConvertAndFormatObject(Object, Object)

See Also