mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-01-26 23:10:52 -05:00
38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
//-----------------------------------------------------------------------
|
|
// <copyright file="WorkerStatusDbContext.cs" company="lanedirt">
|
|
// Copyright (c) lanedirt. All rights reserved.
|
|
// Licensed under the AGPLv3 license. See LICENSE.md file in the project root for full license information.
|
|
// </copyright>
|
|
//-----------------------------------------------------------------------
|
|
|
|
namespace AliasVault.WorkerStatus.Database;
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
/// <summary>
|
|
/// WorkerStatusDbContext class.
|
|
/// </summary>
|
|
public class WorkerStatusDbContext : DbContext, IWorkerStatusDbContext
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="WorkerStatusDbContext"/> class.
|
|
/// </summary>
|
|
public WorkerStatusDbContext()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="WorkerStatusDbContext"/> class.
|
|
/// </summary>
|
|
/// <param name="options">DbContextOptions instance.</param>
|
|
public WorkerStatusDbContext(DbContextOptions options)
|
|
: base(options)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the WorkerServiceStatus DbSet.
|
|
/// </summary>
|
|
public DbSet<WorkerServiceStatus> WorkerServiceStatuses { get; set; }
|
|
}
|