Iam Using Unity as IOC Container and I Use RegistrationByConvension , The Question is My DbContext has a multiple constructors and i want to make a default constructor when i search i found InjectionConstructor But It using With The regular Register Not with RegistrationByConvension , So How To Make It With RegistrationByConvension ? There is My Code In UnityConfig ? Thanks
container.RegisterTypes(AllClasses.FromAssemblies(Assembly.GetAssembly(typeof(MyDB))),
WithMappings.FromMatchingInterface,
WithName.Default,
WithLifeTime.Transient);