Skip to content

Commit 7a3a144

Browse files
committed
Updating project readme
1 parent 0c90c79 commit 7a3a144

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,25 @@
22

33
[![NuGet version](https://badge.fury.io/nu/AgileObjects.AgileMapper.svg)](https://badge.fury.io/nu/AgileObjects.AgileMapper)
44

5-
AgileMapper is a zero-configuration, [highly-configurable](https://github.com/agileobjects/AgileMapper/wiki/Configuration) object-object mapper with [viewable execution plans](https://github.com/agileobjects/AgileMapper/wiki/Using-Execution-Plans)
6-
via a [static or instance](https://github.com/agileobjects/AgileMapper/wiki/Static-vs-Instance-Mappers) API. It targets [.NET Standard 1.0](https://docs.microsoft.com/en-us/dotnet/articles/standard/library) and .NET 4.0.
5+
AgileMapper is a zero-configuration, [highly-configurable](https://github.com/agileobjects/AgileMapper/wiki/Configuration) object-object mapper with [viewable execution plans](https://github.com/agileobjects/AgileMapper/wiki/Using-Execution-Plans).
6+
It projects queries, transforms, deep clones, updates and merges via extension methods, or a [static or instance](https://github.com/agileobjects/AgileMapper/wiki/Static-vs-Instance-Mappers) API.
7+
It targets [.NET Standard 1.0](https://docs.microsoft.com/en-us/dotnet/articles/standard/library) and .NET 4.0.
78

89
You can use it to create new objects:
910

1011
```C#
1112
var customerDto = Mapper.Map(customer).ToANew<CustomerDto>();
1213
```
1314

15+
...[project queries](https://github.com/agileobjects/AgileMapper/wiki/Query-Projection):
16+
17+
```C#
18+
var customerDtos = await context
19+
.Customers
20+
.Project().To<CustomerDto>()
21+
.ToArrayAsync();
22+
```
23+
1424
...perform [id-aware updates](https://github.com/agileobjects/AgileMapper/wiki/Performing-Updates):
1525

1626
```C#

0 commit comments

Comments
 (0)