Click or drag to resize

GeneratorUtils.GetDiscriminatorField Method

Gets the discriminator field for the current entity or null if not applicable/found

Namespace:  SD.LLBLGen.Pro.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static IFieldElementCore GetDiscriminatorField(
	EntityDefinition entity,
	Project currentProject
)

Parameters

entity
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModel.EntityDefinition
The entity.
currentProject
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClasses.Project
The current project.

Return Value

Type: IFieldElementCore
the discriminator field for the current entity or null if not applicable/found
See Also