Click or drag to resize
GeneratorUtilsGetDiscriminatorField 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.3.0.0 (5.3.0)
Syntax
public static IFieldElementCore GetDiscriminatorField(
	EntityDefinition entity,
	Project currentProject
)

Parameters

entity
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity.
currentProject
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProject
The current project.

Return Value

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