Method Keep

Keep(params EntityType[])

Creates a new filter that will keep the given values (and filter out the rest)

Declaration
public static IEntityTypeFilter Keep(params EntityType[] values)
Parameters
Type Name Description
EntityType[] values

The values to keep

Returns
Type Description
IEntityTypeFilter

A new entity type filter

Keep(Func<EntityType, bool>)

Creates a new filter that will keep the given values (and filter out the rest)

Declaration
public static IEntityTypeFilter Keep(Func<EntityType, bool> predicate)
Parameters
Type Name Description
Func<EntityType, bool> predicate

The function to obtain the included (resp. excluded) values

Returns
Type Description
IEntityTypeFilter

A new entity type filter

Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.
Previous
Next