Skip to main content

Module metadata

Module metadata 

Source
Expand description

Model metadata types for describing entities, properties, and relationships.

These types form the metadata layer of rust-ef, analogous to EFCore’s IEntityType, IProperty, INavigation, etc.

Structs§

CheckMeta
A table-level CHECK constraint.
EntityTypeMeta
Metadata describing an entity type. Corresponds to EFCore’s IEntityType.
ForeignKeyMeta
A foreign key declared on an entity.
IndexMeta
A declarative (possibly composite, partial, or expression) index.
NavigationMeta
Metadata describing a navigation property (relationship). Corresponds to EFCore’s INavigation.
PropertyMeta
Metadata describing a property (column) of an entity type. Corresponds to EFCore’s IProperty.
PropertyMetaBuilder
Builder for configuring PropertyMeta.
TableOptions
MySQL table-level storage options (ENGINE, DEFAULT CHARSET, COLLATE).

Enums§

IndexColumn
One key part of an IndexMeta.
NavigationKind
Describes the type of navigation.