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.GeneratorCoreAssembly: SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax public static FieldMapping GetDiscriminatorFieldMapping(
EntityDefinition entity,
IGenerator executingGenerator
)
Public Shared Function GetDiscriminatorFieldMapping (
entity As EntityDefinition,
executingGenerator As IGenerator
) As FieldMapping
Parameters
- entity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity. - executingGenerator
- Type: SD.LLBLGen.Pro.ApplicationCoreIGenerator
The executing generator.
Return Value
Type:
FieldMappingthe discriminator field mapping for the discriminator field of the sub hierarchy the passed in entity is in. Null if not applicable/found
See Also