Skip to content

Instantly share code, notes, and snippets.

@ashmind
Created April 4, 2011 12:44
Show Gist options
  • Save ashmind/901570 to your computer and use it in GitHub Desktop.
Save ashmind/901570 to your computer and use it in GitHub Desktop.
???
AutoMap.AssemblyOf<...>(new BusinessModelAutomapping())
.Conventions.AddAssembly(Assembly.GetExecutingAssembly())
.UseOverridesFromAssembly(Assembly.GetExecutingAssembly())
.Alterations(a => a.AddFromAssembly(Assembly.GetExecutingAssembly()));
@jagregory
Copy link

Not so much design-by-committee as evolved-over-time. Conventions and Overrides are distinct and unrelated, Alterations is just another name for Overrides, and the configuration parameter is the migration away from all of that. :)

Once the configuration is capable of replicating what the other methods provide, they'll be deprecated.

@ashmind
Copy link
Author

ashmind commented Apr 12, 2011

It is not a problem really, just somewhat amusing :)

@jagregory
Copy link

jagregory commented Apr 12, 2011 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment