Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-choudhari-git/54ebcbbccb7b190226ee939a6ba508ee to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/54ebcbbccb7b190226ee939a6ba508ee to your computer and use it in GitHub Desktop.
Custom configuration provider database context
using Microsoft.EntityFrameworkCore;
namespace CustomConfigProviderExample.CustomConfigProvider
{
public class CustomConfigurationProviderDbContext: DbContext
{
public CustomConfigurationProviderDbContext(DbContextOptions options) : base(options)
{
}
public DbSet<ConfigurationSetting> ConfigurationSetting { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment