dotnet / dotnet/efcore

Add OnModelCreating(ModelBuilder modelBuilder, bool designTime) overload

Open
#27,891 0 comments 0 reactions 0 assignees View on GitHub
area-model-building
Dominant language
C#
Stars
14.8k
Forks
3.4k
PR merge metrics
PR metrics pending

Description

This would allow skipping design-time only model configuration, like adding managed seed data.

This would require changing the signature of `ModelCustomizer.Customize` and `ModelSource.CreateModel`

However this is already mitigated by having a compiled model.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.