mirror of
https://gitee.com/dcren/openiddict-documentation.git
synced 2025-11-10 03:14:45 +08:00
Update the documentation pages
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
<p>To configure OpenIddict to use Entity Framework Core as the database for applications, authorizations, scopes and tokens, you'll need to:</p>
|
||||
<ul>
|
||||
<li><p><strong>Reference the <code>OpenIddict.EntityFrameworkCore</code> package</strong>:</p>
|
||||
<pre><code class="lang-xml"><PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.5.0" />
|
||||
<pre><code class="lang-xml"><PackageReference Include="OpenIddict.EntityFrameworkCore" Version="4.6.0" />
|
||||
</code></pre></li>
|
||||
<li><p><strong>Create a database context deriving from <code>DbContext</code> (or <code>IdentityDbContext</code> when using ASP.NET Core Identity)</strong>:</p>
|
||||
<pre><code class="lang-csharp">public class ApplicationDbContext : DbContext
|
||||
|
||||
Reference in New Issue
Block a user