EntityFieldExtensions class
namespace: Serenity.Data assembly: Serenity.Net.Entity
Contains static extension methods for Field objects.
public static class EntityFieldExtensions
Public Members
name | description |
---|---|
static AutoTrim(…) | Automatically performs trim on field value based on the field flags TrimToEmpty and Trim. |
static EnumerateTableFields(…) | Gets a dictionary of table fields (e.g. not a foreign or calculated field) in a row. |
static GetAttribute<TAttribute>(…) | Gets the attribute. |
static GetAttributes<TAttribute>(…) | Gets the attributes. |
static GetTableFields(…) | Gets a dictionary of table fields (e.g. not a foreign or calculated field) in a row. |
static IsTableField(…) | Checks to see if field is an actual table field, e.g. not a foreign or calculated field. This is determined by field flags and having expression. |
static OfJoin<TField>(…) | Returns a new field an expression with specified join alias. Avoid using. |
See Also
- Source: EntityFieldExtensions.cs