This quickstart shows how to configure IdentityServer to use EntityFramework Core (EF) as the storage mechanism for configuration and operational data.
The tutorial that goes along with this sample can be found here Using EntityFramework Core for configuration and operational data