AyCode.Core/AyCode.Database/ModelBuilders/Users/README.md

640 B

ModelBuilders / Users

EF Core entity type configurations for User and Company relationships.

Key Files

  • AcUserEntityTypeConfigurations.cs — Default configs: User↔Profile (one-to-one), Company↔Profile with auto-include navigation.
  • AcUserEntityTypeBuilderExtensions.cs — BuildEntityToProfileRelation (cascade delete), BuildEntityToServiceProviderRelation (many-to-many via UsingEntity).

LLM Maintenance: If you modify code in this folder, update this README to reflect the changes. If you notice the README content does not match the current code, automatically update the README to match the code.