Click or drag to resize

GeneratorUtilsGetDiscriminatorFieldMapping Method (EntityDefinition, IGenerator)

Gets the discriminator field mapping for the discriminator field of the sub hierarchy the passed in entity is in. Null if not applicable/found

Namespace:  SD.LLBLGen.Pro.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public static FieldMapping GetDiscriminatorFieldMapping(
	EntityDefinition entity,
	IGenerator executingGenerator
)

Parameters

entity
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity.
executingGenerator
Type: SD.LLBLGen.Pro.ApplicationCoreIGenerator
The executing generator.

Return Value

Type: FieldMapping
the discriminator field mapping for the discriminator field of the sub hierarchy the passed in entity is in. Null if not applicable/found
See Also