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.ORMSupportClassesAssembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax public static int DetermineNumberOfPkFields(
IList pkFields
)
Public Shared Function DetermineNumberOfPkFields (
pkFields As IList
) As Integer
Parameters
- pkFields
- Type: System.CollectionsIList
The pk fields.
Return Value
Type:
Int32the # of pk fields
See Also