Skip to content

Commit f68d102

Browse files
committed
Updated readme
1 parent 0b79c8d commit f68d102

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ AutoMapper extentions for mapping expressions (OData)
44
To use, configure using the configuration helper method:
55

66
```c#
7-
Mapper.Initialize(cfg => {
7+
var mapper = new Mapper(new MapperConfiguration(cfg => {
88
cfg.AddExpressionMapping();
99
// Rest of your configuration
10-
});
10+
}));
1111

1212
// or if using the MS Ext DI:
1313

0 commit comments

Comments
 (0)