EntityFieldExtensions.GetAttributes<TAttribute> method

namespace: Serenity.Data   assemblySerenity.Net.Entity

Gets the attributes.

public static IEnumerable<TAttribute> GetAttributes<TAttribute>(this Field field)
    where TAttribute : Attribute
parameter description
TAttribute The type of the attribute.
field The field.

Return Value

Attributes with specified type.

See Also