added signalR to Integration Test

This commit is contained in:
kayone
2013-11-13 12:08:37 -08:00
parent 47af488e4b
commit 5ab873150e
13 changed files with 136 additions and 54 deletions

View File

@@ -116,6 +116,8 @@ namespace NzbDrone.Core.Datastore
DataMapper.Insert(model);
ModelCreated(model);
return model;
}
@@ -127,12 +129,15 @@ namespace NzbDrone.Core.Datastore
}
DataMapper.Update(model, c => c.Id == model.Id);
ModelUpdated(model);
return model;
}
public void Delete(TModel model)
{
DataMapper.Delete<TModel>(c => c.Id == model.Id);
Delete(model.Id);
}
public void InsertMany(IList<TModel> models)
@@ -199,6 +204,8 @@ namespace NzbDrone.Core.Datastore
.ColumnsIncluding(properties)
.Entity(model)
.Execute();
ModelUpdated(model);
}
public virtual PagingSpec<TModel> GetPaged(PagingSpec<TModel> pagingSpec)