1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-30 11:46:09 +00:00
Sonarr/NzbDrone.Core/Instrumentation/LogDbContext.cs

23 lines
413 B
C#
Raw Normal View History

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; }
}
}