Table of Contents

Namespace ProjGraph.Lib.EntityFramework.Infrastructure

Classes

DbContextIdentifier

Provides methods to identify and find DbContext classes within a collection of class declarations.

EfModelAnalyzer

Infrastructure implementation for advanced Entity Framework model analysis using Roslyn and semantic models.

EntityAnalyzer

Provides methods for analyzing entity type symbols and extracting metadata such as properties, primary keys, and constraints. This class is implemented as a partial class to allow for extension in other files.

FluentApiConfigurationParser

Orchestrates the DbContext path's Fluent API analysis: locates OnModelCreating and folds its configuration into the model via the Roslyn syntax walkers.

ModelSnapshotParser

Parser for Entity Framework ModelSnapshot files: locates the snapshot's BuildModel method and folds its fluent configuration into an EfModel via the Roslyn syntax walkers (ProjGraph.Lib.EntityFramework.Infrastructure.FluentEntityWalker, ProjGraph.Lib.EntityFramework.Infrastructure.FluentPropertyWalker, ProjGraph.Lib.EntityFramework.Infrastructure.FluentRelationshipWalker).

NavigationPropertyAnalyzer

Provides methods for analyzing navigation properties in entity types.

RelationshipAnalyzer

Provides methods for analyzing and managing relationships between entities in an Entity Framework model.