Click or drag to resize
GeneratorUtilsGetDiscriminatorValueAsString Method (EntityDefinition, IGenerator)
Gets the discriminator value as string.

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 string GetDiscriminatorValueAsString(
	EntityDefinition entity,
	IGenerator executingGenerator
)

Parameters

entity
Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
executingGenerator
Type: SD.LLBLGen.Pro.ApplicationCoreIGenerator

Return Value

Type: String
the discriminator value, casted to the right type in string format and ready to be emitted to the output
Remarks
Supports C# and VB.NET as it includes a typecast.
See Also