Created
April 4, 2011 12:44
-
-
Save ashmind/901570 to your computer and use it in GitHub Desktop.
???
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AutoMap.AssemblyOf<...>(new BusinessModelAutomapping()) | |
.Conventions.AddAssembly(Assembly.GetExecutingAssembly()) | |
.UseOverridesFromAssembly(Assembly.GetExecutingAssembly()) | |
.Alterations(a => a.AddFromAssembly(Assembly.GetExecutingAssembly())); |
It is not a problem really, just somewhat amusing :)
It's a mess. Automapping is in dire need of a cleanup, inside and out.
…On 12 Apr 2011, at 07:37, ***@***.*** wrote:
It is not a problem really, just somewhat amusing :)
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/901570
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.