RowFieldsBase class

namespace: Serenity.Data   assemblySerenity.Net.Entity

Base class for row fields collection

public class RowFieldsBase : Collection<Field>, IAlias, IHaveJoins

Public Members

name description
AliasName { get; } Gets the name of the alias.
ConnectionKey { get; } Gets the connection key.
Database { get; } Gets the database.
Dialect { get; } Gets the dialect.
FieldPrefix { get; set; } Gets or sets the field prefix.
GenerationKey { get; set; } Gets or sets the generation key.
IdField { get; } Gets the identifier field.
Joins { get; } List of all joins in entity
LocalTextPrefix { get; set; } Gets or sets the local text prefix.
ModuleIdentifier { get; } Gets the module identifier.
NameField { get; } Gets the name field.
PrimaryKeys { get; } Gets the primary keys.
RowIdentifier { get; } Gets the row identifier.
Schema { get; } Gets the schema.
SortOrders { get; } Gets the sort orders.
TableName { get; } Gets the name of the table.
TableOnly { get; } Gets the table only.
FindField(…) Finds the field.
FindFieldByPropertyName(…) Finds the name of the field by property.
GetFieldsByAttribute(…) Gets the fields by attribute.
GetFieldsByAttribute<TAttr>() Gets the fields by attribute.
Initialize(…) Initializes the specified annotations.
LockAlias() Locks the alias.
ReplaceAliasWith(…) Replaces the alias with.
static ParseDatabaseAndSchema(…) Parses the database and schema.

Protected Members

name description
RowFieldsBase(…) Initializes a new instance of the RowFieldsBase class.
virtual AfterInitialize() Afters the initialize.
virtual CreateGeneratedFields() Should be only used by row source generator to create field objects it generated
override InsertItem(…) Inserts an element into the Collection at the specified index.
override RemoveItem(…) Removes the element at the specified index of the Collection.
override SetItem(…) Replaces the element at the specified index.

See Also