IndexerProvider now uses PetaPoco.

This commit is contained in:
Mark McDowall 2011-06-17 17:10:33 -07:00
commit 01944acbb1
4 changed files with 21 additions and 12 deletions

View file

@ -1,11 +1,12 @@
using System;
using SubSonic.SqlGeneration.Schema;
using PetaPoco;
namespace NzbDrone.Core.Repository
{
[TableName("IndexerSettings")]
[PrimaryKey("Id", autoIncrement = true)]
public class IndexerSetting
{
[SubSonicPrimaryKey(true)]
public int Id { get; set; }
public Boolean Enable { get; set; }