Update README.md

This commit is contained in:
Alexandre SPIESER
2017-10-22 01:28:32 +01:00
committed by GitHub
parent 11952065c5
commit f6fb2d570e
+2 -1
View File
@@ -13,7 +13,8 @@ Available as a Nuget package : https://www.nuget.org/packages/AspNetCore.Identit
# Usage examples
Your user and role entities must inherit from MongoIdentityUser<Guid> and MongoIdentityRole<TKey> in a way similar to the IdentityUser<TKey> and the IdentityRole<TKey> in Microsoft.AspNetCore.Identity.
Your user and role entities must inherit from `MongoIdentityUser<TKey>` and `MongoIdentityRole<TKey>` in a way similar to the `IdentityUser<TKey>` and the `IdentityRole<TKey>` in `Microsoft.AspNetCore.Identity`, where `TKey` is the type of the primary key of your document.
Here is an example:
```csharp