EntityDefinitionSetIdentifyingFields Method |
Sets the identifying fields of this entity definition to the list of fields specified
Namespace:
SD.LLBLGen.Pro.ApplicationCore.EntityModel
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax public void SetIdentifyingFields(
List<IIdentifyingField> newIdentifyingFields,
bool performValidation
)
Public Sub SetIdentifyingFields (
newIdentifyingFields As List(Of IIdentifyingField),
performValidation As Boolean
)
Parameters
- newIdentifyingFields
- Type: System.Collections.GenericListIIdentifyingField
The new identifying fields. - performValidation
- Type: SystemBoolean
if set to [perform validation].
Exceptions Exception | Condition |
---|
ValidationException | When the set of newIdentifyingFields aren't forming a unique set of fields |
See Also