EntityFieldExtensions.GetAttributes<TAttribute> method
namespace: Serenity.Data assembly: Serenity.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
- class TAttribute
- class Field
- class EntityFieldExtensions