docs: add xmldoc to BlogContext members

This commit is contained in:
Oliver Booth 2023-08-08 21:04:02 +01:00
parent 6af41cba5a
commit aee4052954
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,10 @@ public sealed class BlogContext : DbContext
{
private readonly IConfiguration _configuration;
/// <summary>
/// Initializes a new instance of the <see cref="BlogContext" /> class.
/// </summary>
/// <param name="configuration">The configuration.</param>
public BlogContext(IConfiguration configuration)
{
_configuration = configuration;
@ -36,6 +40,7 @@ public sealed class BlogContext : DbContext
optionsBuilder.UseMySql(connectionString, serverVersion);
}
/// <inheritdoc />
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.ApplyConfiguration(new AuthorConfiguration());