Skip to content

Commit 4224de3

Browse files
Fixed docs bug
1 parent 0e5357e commit 4224de3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/client-concepts/high-level/mapping/auto-map.asciidoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,13 @@ for the base class and then call AutoMap foreach of the types we want it it the
5757
var descriptor = new CreateIndexDescriptor("myindex")
5858
.Mappings(ms => ms
5959
.Map<Document>(m => m
60-
.AutoMap<Company>() <1>
61-
.AutoMap<Employee>() <1>
60+
.AutoMap<Company>() <1>
61+
.AutoMap<Employee>() <2>
6262
)
6363
);
6464
----
6565
<1> Auto map `Company`
66-
67-
<1> Auto map `Employee`
66+
<2> Auto map `Employee`
6867

6968
[source,javascript]
7069
----

src/Tests/ClientConcepts/HighLevel/Mapping/AutoMap.doc.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void UsingAutoMap()
5757
.Mappings(ms => ms
5858
.Map<Document>(m => m
5959
.AutoMap<Company>() // <1> Auto map `Company`
60-
.AutoMap<Employee>() // <1> Auto map `Employee`
60+
.AutoMap<Employee>() // <2> Auto map `Employee`
6161
)
6262
);
6363

0 commit comments

Comments
 (0)