mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 18:28:19 +00:00
23 lines
413 B
C#
23 lines
413 B
C#
|
using System.Data.Common;
|
|||
|
using System.Data.Entity;
|
|||
|
using System.Linq;
|
|||
|
using Ninject;
|
|||
|
|
|||
|
namespace NzbDrone.Core.Instrumentation
|
|||
|
{
|
|||
|
public class LogDbContext : DbContext
|
|||
|
{
|
|||
|
[Inject]
|
|||
|
public LogDbContext(DbConnection connection)
|
|||
|
: base(connection, false)
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public LogDbContext()
|
|||
|
{
|
|||
|
}
|
|||
|
|
|||
|
public DbSet<Log> Logs { get; set; }
|
|||
|
}
|
|||
|
}
|