Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public override void ConfigureMappings(IConfiguration config, ApplicationContext applicationContext)
var profiles = GetType()
.Where(t => t.BaseType == typeof(Profile))
.Select(t => Activator.CreateInstance(t) as Profile);
foreach (var profile in profiles)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.