File tree Expand file tree Collapse file tree
src/NuGetGallery.Core/Entities
tests/NuGetGallery.Facts/TestUtils Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11// Copyright (c) .NET Foundation. All rights reserved.
22// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
33
4+ using System ;
45using System . Data . Entity ;
56using System . Threading . Tasks ;
67using NuGet . Services . Entities ;
78
89namespace NuGetGallery
910{
10- public interface IEntitiesContext
11+ public interface IEntitiesContext : IDisposable
1112 {
1213 DbSet < Certificate > Certificates { get ; set ; }
1314 DbSet < Package > Packages { get ; set ; }
Original file line number Diff line number Diff line change @@ -237,5 +237,9 @@ public static DbSet<T> CreateDbSet<T>() where T : class
237237
238238 return mockSet . Object ;
239239 }
240+
241+ public void Dispose ( )
242+ {
243+ }
240244 }
241245}
You can’t perform that action at this time.
0 commit comments