I want set an initializer dynamically that expect a Type as input, but gets an error that says "could not find type or namespeace dbContextType"
var dbContext = DependencyResolver.Current.GetService<DbContext>();
var dbContextType = dbContext.GetType();
Database.SetInitializer<dbContextType>(null);
Is it posible to set a type like this as input without explicit writing the class name?