FilteringIdFieldAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Specifies ID field to filter on a field. For example, if this attribute is placed on EmployeeName field, EmployeeId can be the filtering field, so that values are filtered on ID not text value.

[AttributeUsage(AttributeTargets.All)]
public class FilteringIdFieldAttribute : Attribute

Public Members

name description
FilteringIdFieldAttribute(…) Initializes a new instance of the FilteringIdFieldAttribute class.
Value { get; } Gets the filtering ID value.

See Also