Troom
❔ Hello, Fluent Api
https://www.learnentityframeworkcore.com/configuration/fluent-api
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.ApplyConfigurationsFromAssembly(Assembly.GetExecutingAssembly());
}
3 replies