@@ -512,19 +512,19 @@ public class MyDeathStarContext : CouchContext
512
512
513
513
protected override void OnDatabaseCreating (CouchDatabaseBuilder databaseBuilder )
514
514
{
515
- databaseBuilder .Document <Rebel >().ToDatabase (" troups " );
516
- databaseBuilder .Document <Vehicle >().ToDatabase (" troups " );
515
+ databaseBuilder .Document <Rebel >().ToDatabase (" troops " );
516
+ databaseBuilder .Document <Vehicle >().ToDatabase (" troops " );
517
517
}
518
518
}
519
519
```
520
- > When multiple `CouchDatabase ` point to the same ** database ** , a `_discriminator ` field is added on documents creation .
520
+ > When multiple `CouchDatabase ` point to the same ** database ** , a `split_discriminator ` field is added on document creation .
521
521
>
522
- > When querying , a filter by `discriminator ` is added automatically .
522
+ > When querying , a filter by `split_discriminator ` is added automatically .
523
523
524
- If you are not using `CouchContext `, you can still use the database slit feature :
524
+ If you are not using `CouchContext `, you can still use the database split feature :
525
525
```csharp
526
- var rebels = client .GetDatabase <Rebel >(" troups " , nameof (Rebel ));
527
- var vehicles = client .GetDatabase <Vehicle >(" troups " , nameof (Vehicle ));
526
+ var rebels = client .GetDatabase <Rebel >(" troops " , nameof (Rebel ));
527
+ var vehicles = client .GetDatabase <Vehicle >(" troops " , nameof (Vehicle ));
528
528
```
529
529
530
530
## Views
@@ -712,4 +712,4 @@ Thanks to [n9](https://github.com/n9) for proxy authentication, some bug fixes,
712
712
713
713
Thanks to [Marc ](https :// github.com/bender-ristone) for NullValueHandling, bug fixes and suggestions!
714
714
715
- Thanks to [Panos ](https :// github.com/panoukos41) for the help with Views and Table splitting.
715
+ Thanks to [Panos ](https :// github.com/panoukos41) for the help with Views and Table splitting.
0 commit comments