Class QueryFilterAttribute
Contains reference to filter function defined by HasQueryFilter(Func<IQueryable<TEntity>, IDataContext, IQueryable<TEntity>>)
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
public class QueryFilterAttribute : MappingAttribute, _Attribute
- Inheritance
-
QueryFilterAttribute
- Implements
- Inherited Members
- Extension Methods
Properties
FilterFunc
Filter function of type Func<T1, T2, TResult>, where
- - T1 and TResult are IQueryable<T>
- - T2 is IDataContext
public Delegate? FilterFunc { get; set; }
Property Value
Methods
GetObjectID()
Returns mapping attribute id, based on all attribute options.
public override string GetObjectID()