I need to create OData EDM model on the fly in ASP.NET Core application.
There is an example in the samples, that shows it https://github.com/OData/ODataSamples/tree/mast