From 67d0a4c8a3e1401f1c1e90887f1894588db07581 Mon Sep 17 00:00:00 2001 From: Alexandre SPIESER Date: Mon, 15 Apr 2019 00:48:19 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76da538..f7d2be5 100644 --- a/README.md +++ b/README.md @@ -40,8 +40,8 @@ Here is an example of repository usage, where the TestRepository is implementing } } ``` -If all your documents have the same type of key, you can use the more specific `BaseMongoRepository` where `TKey` is the type of the `Id` of your documents. -``` +If all your documents have the same type of `Id`, you can use the more specific `BaseMongoRepository` where `TKey` is the type of the `Id` of your documents. +```csharp public class TestTKeyRepository : BaseMongoRepository, ITestRepository where TKey : IEquatable { const string connectionString = "mongodb://localhost:27017/MongoDbTests";