Click or drag to resize

GeneratorUtils.GetDiscriminatorFieldMapping 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.8.0.0 (5.8.21.0208)
Syntax
public static FieldMapping GetDiscriminatorFieldMapping(
	EntityDefinition entity,
	IGenerator executingGenerator
)

Parameters

entity
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModel.EntityDefinition
The entity.
executingGenerator
Type: SD.LLBLGen.Pro.ApplicationCore.IGenerator
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