Skip to main content

Module entity

Module entity 

Source
Expand description

Entity type trait and state definitions.

Enums§

EntityState
Represents the state of an entity in the change tracker.

Traits§

IEntitySnapshot
Extracts all scalar property values from an entity for INSERT/UPDATE.
IEntityType
The core trait that every entity type must implement.
IFromRow
Trait for materializing an entity from a database row.
IGetKeyValues
Extracts primary key values from an entity for SaveChanges WHERE clauses.
ILazyInit
Attaches lazy-loading contexts to navigation properties.
INavigationSetter
Applies eagerly-loaded navigation data to an entity.

Functions§

materialize_entities
Materializes entities from raw database row data using the IFromRow trait.