Click or drag to resize

IInheritanceInfoProviderGetEntityTypeFilter Method (String, Boolean)

Gets a predicateexpression which filters on the entity with type 'entityName'. Example of a valid name is 'CustomerEntity'.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax
IPredicateExpression GetEntityTypeFilter(
	string entityName,
	bool negate
)

Parameters

entityName
Type: SystemString
Name of the entity to filter on, like 'CustomerEntity'
negate
Type: SystemBoolean
Flag to produce a NOT filter, (true), or a normal filter (false).

Return Value

Type: IPredicateExpression
ready to use predicateexpression, or an empty predicate expression if entityName's value isn't an entity which is a hierarchical type.
Remarks
Only useful in entity fetches.
See Also