ReAn
ReAn
CC#
Created by ReAn on 9/6/2024 in #help
EF Core Defined in Library Assembly, Configured in ASPNET Asembly
It seems that way, after moving the deps to my context and instantiating the configuration in the OnModelCreating it works. Does anyone have a better way for allowing the EntityTypeConfiguration<T> to work from the Service Collection?
3 replies
CC#
Created by ReAn on 9/6/2024 in #help
EF Core Defined in Library Assembly, Configured in ASPNET Asembly
I'm guessing it's because I have a dependency, and the instantiation here is not happening in the DI Context? Thus it's not created, and this model is not configured.
3 replies