public partial class User : UserBase { [Filter()] public string FriendlyName { get; set; } }
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)] public class FilterAttribute : Attribute { private bool isFilterable; private string filterName; public FilterAttribute() { isFilterable = true; filterName = ??? }
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false)] public class FilterAttribute : Attribute { private bool isFilterable; private string filterName; public FilterAttribute() { isFilterable = true;
filterName = ??? }