GeneratorUtilsGetDiscriminatorFieldMapping Method (EntityDefinition, IGenerator, String) |
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.4.0.0 (5.4.0)
Syntax public static FieldMapping GetDiscriminatorFieldMapping(
EntityDefinition entity,
IGenerator executingGenerator,
string driverID
)
Public Shared Function GetDiscriminatorFieldMapping (
entity As EntityDefinition,
executingGenerator As IGenerator,
driverID As String
) As FieldMapping
Parameters
- entity
- Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity. - executingGenerator
- Type: SD.LLBLGen.Pro.ApplicationCoreIGenerator
The executing generator. - driverID
- Type: SystemString
The driver ID.
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