You've already forked Extensions.Configuration.EntityFrameworkCore
Remove unnecessary TSetting type parameter from ISettingsDbContext & just use ISetting instead
This commit is contained in:
@@ -4,11 +4,10 @@ using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace RAIC.Extensions.Configuration.EntityFrameworkCore;
|
||||
|
||||
public interface ISettingsDbContext<out TSettingDbSet, out TSetting> : IDisposable
|
||||
where TSettingDbSet : DbSet<TSetting>
|
||||
where TSetting : class, ISetting
|
||||
public interface ISettingsDbContext<out TSettings> : IDisposable
|
||||
where TSettings : System.Linq.IQueryable<ISetting>
|
||||
{
|
||||
TSettingDbSet Settings { get; }
|
||||
TSettings Settings { get; }
|
||||
}
|
||||
|
||||
public interface ISettingsDbContextFactory<TDbContext>
|
||||
|
||||
Reference in New Issue
Block a user