Click or drag to resize

BcfPrimaryKeyFind Method

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

Finds a BcfRow with the specified primary key values.

Namespace:  CalculationWorks.BusinessModel
Assembly:  CalculationWorks.BusinessModel (in CalculationWorks.BusinessModel.dll) Version: 4.0.0-beta6
Syntax
public BcfRow Find(
	params Object[] values
)

Parameters

values
Type: SystemObject
The primary key values.

Return Value

Type: BcfRow
The row with the specified primary key values if found; otherwise null.
Exceptions
ExceptionCondition
ArgumentNullExceptionvalues is null.
ArgumentExceptionvalues length must match the number of key columns
InvalidOperationException There are more than one row with matching key. This can be done within a transaction by setting transactions EnforceConstraints to false. If you do so; use Select(Object) to get all rows with matching key.
Version Information

BCF

Supported in: 4.0
See Also