File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
docs/client-concepts/high-level/mapping
src/Tests/ClientConcepts/HighLevel/Mapping Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,13 @@ for the base class and then call AutoMap foreach of the types we want it it the
5757var 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----
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments