aloneguid / config

⚙ Config.Net - the easiest configuration framework for .NET developers. No BS.
MIT License
640 stars 85 forks source link

Entity Framework Core as configuration store #101

Open koryphaee opened 4 years ago

koryphaee commented 4 years ago

I am trying to store my config values in a simple key-value table in EF Core. Am I missing something or is this not implemented yet? I also did not find a third-party NuGet package which has such an implementation.

Since I like the concept of Config.Net I would go ahead and implement this feature if it doesn't exists yet. I would then submit a pull request to make this functionality available to everyone.

aloneguid commented 4 years ago

You're correct, there is no EF Core provider at the moment. Please go ahead with PR, it will be a great addition.

koryphaee commented 4 years ago

Pull request here: https://github.com/aloneguid/config/pull/102

I tried copying your coding style as much as possible to make the code look uniform. If I missed something please go ahead and adjust it. I also tried to include comments where it makes sense and wrote some tests and documentation.

feitzi commented 4 years ago

Any news?