Adding Entity Framework Code-First Type Configs from a Namespace

added by DotNetKicks
9/14/2017 1:04:52 PM

1 Kicks, 320 Views

A recent project I worked on needed to connect to two different SQL databases using Entity Framework (version 6, not that new EF Core hotness). Out of the box, EF can only bulk-load code-based mappings from an entire assembly, not from a single namespace within an assembly.


0 comments