Click or drag to resize

FieldUtilitiesDetermineNumberOfPkFields Method

Determines the number of pk fields for the set of PK fields passed in. Normally this is the # of entries in the PK field collection, however in the case of a subtype of a targetperentity, all PK fields of the supertypes are also present in this collection and therefore this routine has to determine how many of these fields are really there.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax
public static int DetermineNumberOfPkFields(
	IList pkFields
)

Parameters

pkFields
Type: System.CollectionsIList
The pk fields.

Return Value

Type: Int32
the # of pk fields
See Also