SubHierarchyViewCheckIfEntityCanHaveDiscriminatorValueSet Method  | 
 
            Checks if entity can have its discriminator value set to a value. This depends on the fact if the entity is in a TargetPerEntityHierarchy hierarchy
            and if the root of the subhierarchy it is in has its discriminatorfield set or if the entity specified is the root of the subhierarchy
            
 
    Namespace: 
   SD.LLBLGen.Pro.ApplicationCore.EntityModel
    Assembly:
   SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.9.0.0 (5.9.0)
Syntaxpublic bool CheckIfEntityCanHaveDiscriminatorValueSet(
	EntityDefinition entity
)
Public Function CheckIfEntityCanHaveDiscriminatorValueSet ( 
	entity As EntityDefinition
) As Boolean
Parameters
- entity
 - Type: SD.LLBLGen.Pro.ApplicationCore.EntityModelEntityDefinition
The entity. 
Return Value
Type: 
Booleantrue if the DiscriminatorValue can be set, false otherwise
RemarksNot part of EntityDefinition, as it has to consult inheritance information which is stored outside the entity
See Also