├── CNAME ├── javascripts └── main.js ├── favicon.ico ├── images ├── bg_hr.png ├── black_logo.png ├── blacktocat.png ├── icon_download.png ├── sprite_download.png └── 4b380d1c355c5021bd5f3c0452adf7e1.png ├── params.json ├── stylesheets ├── pygment_trac.css └── stylesheet.css └── index.html /CNAME: -------------------------------------------------------------------------------- 1 | automapper.org -------------------------------------------------------------------------------- /javascripts/main.js: -------------------------------------------------------------------------------- 1 | console.log('This would be the main JS file.'); 2 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutoMapper/AutoMapper.website/HEAD/favicon.ico -------------------------------------------------------------------------------- /images/bg_hr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutoMapper/AutoMapper.website/HEAD/images/bg_hr.png -------------------------------------------------------------------------------- /images/black_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutoMapper/AutoMapper.website/HEAD/images/black_logo.png -------------------------------------------------------------------------------- /images/blacktocat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutoMapper/AutoMapper.website/HEAD/images/blacktocat.png -------------------------------------------------------------------------------- /images/icon_download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutoMapper/AutoMapper.website/HEAD/images/icon_download.png -------------------------------------------------------------------------------- /images/sprite_download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutoMapper/AutoMapper.website/HEAD/images/sprite_download.png -------------------------------------------------------------------------------- /images/4b380d1c355c5021bd5f3c0452adf7e1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AutoMapper/AutoMapper.website/HEAD/images/4b380d1c355c5021bd5f3c0452adf7e1.png -------------------------------------------------------------------------------- /params.json: -------------------------------------------------------------------------------- 1 | {"name":"AutoMapper","tagline":"A convention-based object-object mapper. 100% organic and gluten-free. Takes out all of the fuss of mapping one object to another.","body":"### What is AutoMapper?\r\nAutoMapper is a simple little library built to solve a deceptively complex problem - getting rid of code that mapped one object to another. This type of code is rather dreary and boring to write, so why not invent a tool to do it for us?\r\n\r\n### How do I get started?\r\nCheck out the [getting started guide](https://github.com/AutoMapper/AutoMapper/wiki/Getting-started). When you're done there, the [wiki](https://github.com/AutoMapper/AutoMapper/wiki) goes in to the nitty-gritty details. Finally, check out the [dnrTV episode](http://www.dnrtv.com/default.aspx?showNum=155) for a full walkthrough.\r\n\r\n### Where can I get it?\r\nFirst, [install NuGet](http://docs.nuget.org/docs/start-here/installing-nuget). Then, install AutoMapper from the package manager console:\r\n\r\n```\r\nPM> Install-Package AutoMapper\r\n```\r\n","google":"UA-25283083-1","note":"Don't delete this file! It's used internally to help with page regeneration."} -------------------------------------------------------------------------------- /stylesheets/pygment_trac.css: -------------------------------------------------------------------------------- 1 | .highlight .hll { background-color: #ffffcc } 2 | .highlight { background: #f0f3f3; } 3 | .highlight .c { color: #0099FF; font-style: italic } /* Comment */ 4 | .highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */ 5 | .highlight .k { color: #006699; font-weight: bold } /* Keyword */ 6 | .highlight .o { color: #555555 } /* Operator */ 7 | .highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */ 8 | .highlight .cp { color: #009999 } /* Comment.Preproc */ 9 | .highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */ 10 | .highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */ 11 | .highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */ 12 | .highlight .ge { font-style: italic } /* Generic.Emph */ 13 | .highlight .gr { color: #FF0000 } /* Generic.Error */ 14 | .highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */ 15 | .highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */ 16 | .highlight .go { color: #AAAAAA } /* Generic.Output */ 17 | .highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */ 18 | .highlight .gs { font-weight: bold } /* Generic.Strong */ 19 | .highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */ 20 | .highlight .gt { color: #99CC66 } /* Generic.Traceback */ 21 | .highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */ 22 | .highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */ 23 | .highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */ 24 | .highlight .kp { color: #006699 } /* Keyword.Pseudo */ 25 | .highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */ 26 | .highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */ 27 | .highlight .m { color: #FF6600 } /* Literal.Number */ 28 | .highlight .s { color: #CC3300 } /* Literal.String */ 29 | .highlight .na { color: #330099 } /* Name.Attribute */ 30 | .highlight .nb { color: #336666 } /* Name.Builtin */ 31 | .highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */ 32 | .highlight .no { color: #336600 } /* Name.Constant */ 33 | .highlight .nd { color: #9999FF } /* Name.Decorator */ 34 | .highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */ 35 | .highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */ 36 | .highlight .nf { color: #CC00FF } /* Name.Function */ 37 | .highlight .nl { color: #9999FF } /* Name.Label */ 38 | .highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */ 39 | .highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */ 40 | .highlight .nv { color: #003333 } /* Name.Variable */ 41 | .highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */ 42 | .highlight .w { color: #bbbbbb } /* Text.Whitespace */ 43 | .highlight .mf { color: #FF6600 } /* Literal.Number.Float */ 44 | .highlight .mh { color: #FF6600 } /* Literal.Number.Hex */ 45 | .highlight .mi { color: #FF6600 } /* Literal.Number.Integer */ 46 | .highlight .mo { color: #FF6600 } /* Literal.Number.Oct */ 47 | .highlight .sb { color: #CC3300 } /* Literal.String.Backtick */ 48 | .highlight .sc { color: #CC3300 } /* Literal.String.Char */ 49 | .highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */ 50 | .highlight .s2 { color: #CC3300 } /* Literal.String.Double */ 51 | .highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */ 52 | .highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */ 53 | .highlight .si { color: #AA0000 } /* Literal.String.Interpol */ 54 | .highlight .sx { color: #CC3300 } /* Literal.String.Other */ 55 | .highlight .sr { color: #33AAAA } /* Literal.String.Regex */ 56 | .highlight .s1 { color: #CC3300 } /* Literal.String.Single */ 57 | .highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */ 58 | .highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */ 59 | .highlight .vc { color: #003333 } /* Name.Variable.Class */ 60 | .highlight .vg { color: #003333 } /* Name.Variable.Global */ 61 | .highlight .vi { color: #003333 } /* Name.Variable.Instance */ 62 | .highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */ 63 | 64 | .type-csharp .highlight .k { color: #0000FF } 65 | .type-csharp .highlight .kt { color: #0000FF } 66 | .type-csharp .highlight .nf { color: #000000; font-weight: normal } 67 | .type-csharp .highlight .nc { color: #2B91AF } 68 | .type-csharp .highlight .nn { color: #000000 } 69 | .type-csharp .highlight .s { color: #A31515 } 70 | .type-csharp .highlight .sc { color: #A31515 } 71 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | AutoMapper 12 | 13 | 14 | 15 | 16 | 17 |
18 |
19 | View on GitHub 20 | 21 |

AutoMapper

22 |

A convention-based object-object mapper. 100% organic and gluten-free. Takes out all of the fuss of mapping one object to another.

23 | 24 |
25 | Download this project as a .zip file 26 | Download this project as a tar.gz file 27 |
28 |
29 |
30 | 31 | 32 |
33 |
34 |

35 | What is AutoMapper?

36 | 37 |

AutoMapper is a simple little library built to solve a deceptively complex problem - getting rid of code that mapped one object to another. This type of code is rather dreary and boring to write, so why not invent a tool to do it for us?

38 | 39 |

40 | How do I get started?

41 | 42 |

Check out the getting started guide. When you're done there, the docs go in to the nitty-gritty details.

43 | 44 |

45 | Where can I get it?

46 | 47 |

First, install NuGet. Then, install AutoMapper from the package manager console:

48 | 49 |
PM> Install-Package AutoMapper
50 | 
51 | 52 |

Any support for Database Frameworks/ORMs?

53 |
AutoMapper.Data: ADO.NET Support
54 |

Map from IDataReader

55 |
AutoMapper.EF6: Extension Methods for EF6
56 |

Async extension methods for ProjectTo

57 |
AutoMapper.Collection: Map collections by means of equivalency
58 |

EqualityComparision between 2 classes

59 |

Add, map to, and delete items in a collection by comparing items for matches

60 |

AutoMapper.Collection.EF to support Equality by Primary Keys

61 |

Persist methods to handle Insert/Update/Delete DTOs to the Entities

62 |
ExpressionMapping: Map Linq Expressions
63 |

Useful with OData

64 |

65 | How can I get help?

66 | 67 |

For quick questions, Stack Overflow is your best bet. 68 | For harder questions, head over to the mailing list. 69 | Finally, for bugs, issues or feature requests, create a GitHub Issue.

70 |
71 |
72 | 73 | 74 | 80 | 81 | 85 | 91 | 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /stylesheets/stylesheet.css: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | Slate Theme for GitHub Pages 3 | by Jason Costello, @jsncostello 4 | *******************************************************************************/ 5 | 6 | @import url(pygment_trac.css); 7 | 8 | /******************************************************************************* 9 | MeyerWeb Reset 10 | *******************************************************************************/ 11 | 12 | html, body, div, span, applet, object, iframe, 13 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 14 | a, abbr, acronym, address, big, cite, code, 15 | del, dfn, em, img, ins, kbd, q, s, samp, 16 | small, strike, strong, sub, sup, tt, var, 17 | b, u, i, center, 18 | dl, dt, dd, ol, ul, li, 19 | fieldset, form, label, legend, 20 | table, caption, tbody, tfoot, thead, tr, th, td, 21 | article, aside, canvas, details, embed, 22 | figure, figcaption, footer, header, hgroup, 23 | menu, nav, output, ruby, section, summary, 24 | time, mark, audio, video { 25 | margin: 0; 26 | padding: 0; 27 | border: 0; 28 | font: inherit; 29 | vertical-align: baseline; 30 | } 31 | 32 | /* HTML5 display-role reset for older browsers */ 33 | article, aside, details, figcaption, figure, 34 | footer, header, hgroup, menu, nav, section { 35 | display: block; 36 | } 37 | 38 | ol, ul { 39 | list-style: none; 40 | } 41 | 42 | blockquote, q { 43 | } 44 | 45 | table { 46 | border-collapse: collapse; 47 | border-spacing: 0; 48 | } 49 | 50 | /******************************************************************************* 51 | Theme Styles 52 | *******************************************************************************/ 53 | 54 | body { 55 | box-sizing: border-box; 56 | color:#373737; 57 | background: #212121; 58 | font-size: 16px; 59 | font-family: 'Myriad Pro', Calibri, Helvetica, Arial, sans-serif; 60 | line-height: 1.5; 61 | -webkit-font-smoothing: antialiased; 62 | } 63 | 64 | h1, h2, h3, h4, h5, h6 { 65 | margin: 10px 0; 66 | font-weight: 700; 67 | color:#222222; 68 | font-family: 'Lucida Grande', 'Calibri', Helvetica, Arial, sans-serif; 69 | letter-spacing: -1px; 70 | } 71 | 72 | h1 { 73 | font-size: 36px; 74 | font-weight: 700; 75 | } 76 | 77 | h2 { 78 | padding-bottom: 10px; 79 | font-size: 32px; 80 | background: url('../images/bg_hr.png') repeat-x bottom; 81 | } 82 | 83 | h3 { 84 | font-size: 24px; 85 | } 86 | 87 | h4 { 88 | font-size: 21px; 89 | } 90 | 91 | h5 { 92 | font-size: 18px; 93 | } 94 | 95 | h6 { 96 | font-size: 16px; 97 | } 98 | 99 | p { 100 | margin: 10px 0 15px 0; 101 | } 102 | 103 | footer p { 104 | color: #f2f2f2; 105 | } 106 | 107 | a { 108 | text-decoration: none; 109 | color: #ED1C24; 110 | text-shadow: none; 111 | 112 | transition: color 0.5s ease; 113 | transition: text-shadow 0.5s ease; 114 | -webkit-transition: color 0.5s ease; 115 | -webkit-transition: text-shadow 0.5s ease; 116 | -moz-transition: color 0.5s ease; 117 | -moz-transition: text-shadow 0.5s ease; 118 | -o-transition: color 0.5s ease; 119 | -o-transition: text-shadow 0.5s ease; 120 | -ms-transition: color 0.5s ease; 121 | -ms-transition: text-shadow 0.5s ease; 122 | } 123 | 124 | #main_content a:hover { 125 | text-decoration: underline; 126 | } 127 | 128 | footer a:hover { 129 | text-decoration: underline; 130 | } 131 | 132 | em { 133 | font-style: italic; 134 | } 135 | 136 | strong { 137 | font-weight: bold; 138 | } 139 | 140 | img { 141 | position: relative; 142 | margin: 0 auto; 143 | max-width: 739px; 144 | padding: 5px; 145 | margin: 10px 0 10px 0; 146 | border: 1px solid #ebebeb; 147 | 148 | box-shadow: 0 0 5px #ebebeb; 149 | -webkit-box-shadow: 0 0 5px #ebebeb; 150 | -moz-box-shadow: 0 0 5px #ebebeb; 151 | -o-box-shadow: 0 0 5px #ebebeb; 152 | -ms-box-shadow: 0 0 5px #ebebeb; 153 | } 154 | 155 | #project_title img { 156 | padding: 0px; 157 | margin: 10px 0px; 158 | border: 0px; 159 | width: auto; 160 | 161 | box-shadow: 0 0 0px #000; 162 | -webkit-box-shadow: 0 0 0px #000; 163 | -moz-box-shadow: 0 0 0px #000; 164 | -o-box-shadow: 0 0 0px #000; 165 | -ms-box-shadow: 0 0 0px #000; 166 | } 167 | 168 | pre, code { 169 | width: 100%; 170 | color: #222; 171 | background-color: #fff; 172 | 173 | font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace; 174 | font-size: 14px; 175 | 176 | border-radius: 2px; 177 | -moz-border-radius: 2px; 178 | -webkit-border-radius: 2px; 179 | 180 | 181 | 182 | } 183 | 184 | pre { 185 | width: 100%; 186 | padding: 10px; 187 | box-shadow: 0 0 10px rgba(0,0,0,.1); 188 | overflow: auto; 189 | } 190 | 191 | code { 192 | padding: 3px; 193 | margin: 0 3px; 194 | box-shadow: 0 0 10px rgba(0,0,0,.1); 195 | } 196 | 197 | pre code { 198 | display: block; 199 | box-shadow: none; 200 | } 201 | 202 | blockquote { 203 | color: #666; 204 | margin-bottom: 20px; 205 | padding: 0 0 0 20px; 206 | border-left: 3px solid #bbb; 207 | } 208 | 209 | ul, ol, dl { 210 | margin-bottom: 15px 211 | } 212 | 213 | ul li { 214 | list-style: inside; 215 | padding-left: 20px; 216 | } 217 | 218 | ol li { 219 | list-style: decimal inside; 220 | padding-left: 20px; 221 | } 222 | 223 | dl dt { 224 | font-weight: bold; 225 | } 226 | 227 | dl dd { 228 | padding-left: 20px; 229 | font-style: italic; 230 | } 231 | 232 | dl p { 233 | padding-left: 20px; 234 | font-style: italic; 235 | } 236 | 237 | hr { 238 | height: 1px; 239 | margin-bottom: 5px; 240 | border: none; 241 | background: url('../images/bg_hr.png') repeat-x center; 242 | } 243 | 244 | table { 245 | border: 1px solid #373737; 246 | margin-bottom: 20px; 247 | text-align: left; 248 | } 249 | 250 | th { 251 | font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif; 252 | padding: 10px; 253 | background: #373737; 254 | color: #fff; 255 | } 256 | 257 | td { 258 | padding: 10px; 259 | border: 1px solid #373737; 260 | } 261 | 262 | form { 263 | background: #f2f2f2; 264 | padding: 20px; 265 | } 266 | 267 | img { 268 | width: 100%; 269 | max-width: 100%; 270 | } 271 | 272 | /******************************************************************************* 273 | Full-Width Styles 274 | *******************************************************************************/ 275 | 276 | .outer { 277 | width: 100%; 278 | } 279 | 280 | .inner { 281 | position: relative; 282 | max-width: 640px; 283 | padding: 20px 10px; 284 | margin: 0 auto; 285 | } 286 | 287 | #forkme_banner { 288 | display: block; 289 | position: absolute; 290 | top:0; 291 | right: 10px; 292 | z-index: 10; 293 | padding: 10px 50px 10px 10px; 294 | color: #fff; 295 | background: url('../images/blacktocat.png') #BE161D no-repeat 95% 50%; 296 | font-weight: 700; 297 | box-shadow: 0 0 10px rgba(0,0,0,.5); 298 | border-bottom-left-radius: 2px; 299 | border-bottom-right-radius: 2px; 300 | } 301 | 302 | #header_wrap { 303 | background: #212121; 304 | background: -moz-linear-gradient(top, #373737, #212121); 305 | background: -webkit-linear-gradient(top, #373737, #212121); 306 | background: -ms-linear-gradient(top, #373737, #212121); 307 | background: -o-linear-gradient(top, #373737, #212121); 308 | background: linear-gradient(top, #373737, #212121); 309 | } 310 | 311 | #header_wrap .inner { 312 | padding: 50px 10px 30px 10px; 313 | } 314 | 315 | #project_title { 316 | margin: 0; 317 | color: #fff; 318 | font-size: 42px; 319 | font-weight: 700; 320 | text-shadow: #111 0px 0px 10px; 321 | } 322 | 323 | #project_tagline { 324 | color: #fff; 325 | font-size: 24px; 326 | font-weight: 300; 327 | background: none; 328 | text-shadow: #111 0px 0px 10px; 329 | } 330 | 331 | #downloads { 332 | position: absolute; 333 | width: 210px; 334 | z-index: 10; 335 | bottom: -40px; 336 | right: 0; 337 | height: 70px; 338 | background: url('../images/icon_download.png') no-repeat 0% 90%; 339 | } 340 | 341 | .zip_download_link { 342 | display: block; 343 | float: right; 344 | width: 90px; 345 | height:70px; 346 | text-indent: -5000px; 347 | overflow: hidden; 348 | background: url(../images/sprite_download.png) no-repeat bottom left; 349 | } 350 | 351 | .tar_download_link { 352 | display: block; 353 | float: right; 354 | width: 90px; 355 | height:70px; 356 | text-indent: -5000px; 357 | overflow: hidden; 358 | background: url(../images/sprite_download.png) no-repeat bottom right; 359 | margin-left: 10px; 360 | } 361 | 362 | .zip_download_link:hover { 363 | background: url(../images/sprite_download.png) no-repeat top left; 364 | } 365 | 366 | .tar_download_link:hover { 367 | background: url(../images/sprite_download.png) no-repeat top right; 368 | } 369 | 370 | #main_content_wrap { 371 | background: #f2f2f2; 372 | border-top: 1px solid #111; 373 | border-bottom: 1px solid #111; 374 | } 375 | 376 | #main_content { 377 | padding-top: 40px; 378 | } 379 | 380 | #footer_wrap { 381 | background: #212121; 382 | } 383 | 384 | 385 | 386 | /******************************************************************************* 387 | Small Device Styles 388 | *******************************************************************************/ 389 | 390 | @media screen and (max-width: 480px) { 391 | body { 392 | font-size:14px; 393 | } 394 | 395 | #downloads { 396 | display: none; 397 | } 398 | 399 | .inner { 400 | min-width: 320px; 401 | max-width: 480px; 402 | } 403 | 404 | #project_title { 405 | font-size: 32px; 406 | } 407 | 408 | h1 { 409 | font-size: 28px; 410 | } 411 | 412 | h2 { 413 | font-size: 24px; 414 | } 415 | 416 | h3 { 417 | font-size: 21px; 418 | } 419 | 420 | h4 { 421 | font-size: 18px; 422 | } 423 | 424 | h5 { 425 | font-size: 14px; 426 | } 427 | 428 | h6 { 429 | font-size: 12px; 430 | } 431 | 432 | code, pre { 433 | min-width: 320px; 434 | max-width: 480px; 435 | font-size: 11px; 436 | } 437 | 438 | } 439 | --------------------------------------------------------------------------------