You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/features/components/mapper/README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ IMapper mapper = new Mapper(session);
23
23
New `Mapper` instances can be created each time they are needed, as short-lived instances, as long as you are reusing the same `ISession` and `MappingConfiguration` instances. `MappingConfiguration.Global` is used if you don't provide one.
24
24
25
25
In some scenarios, it might make sense to create multiple `MappingConfiguration` instances and create one mapper instance per `MappingConfiguration` (e.g. reuse the same POCOs for multiple keyspaces).
26
+
See [this example](https://github.com/datastax/csharp-driver/blob/master/examples/Mapper/MultipleKeyspacesSingleSession/MapperManager.cs) for details.
26
27
27
28
The Mapper works by mapping the column names in your CQL statement to the property names on your classes.
0 commit comments