ModelInfoProviderBaseGetEntityTypeFilter Method (String, 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.4.0.0 (5.4.0)
Syntax public IPredicateExpression GetEntityTypeFilter(
string entityName,
string objectAlias,
bool negate
)
Public Function GetEntityTypeFilter (
entityName As String,
objectAlias As String,
negate As Boolean
) As IPredicateExpression
Parameters
- entityName
- Type: SystemString
Name of the entity to filter on, like 'CustomerEntity' - objectAlias
- Type: SystemString
The object alias to use for the filter. - negate
- Type: SystemBoolean
Flag to produce a NOT filter, (true), or a normal filter (false).
Return Value
Type:
IPredicateExpressionready to use predicateexpression, or an empty predicate expression if entityName's value isn't an entity which is a hierarchical type.
Implements
IInheritanceInfoProviderGetEntityTypeFilter(String, String, Boolean)Remarks Only useful in entity fetches.
See Also