Let's say I have a visual studio 2019 solution containing two projects written in C#, one of which is a console app and the other one is a class library.
The console app now has a reference to the class library which by itself needs entity framework, for example.
The question is, is there a way on how to include the entity framework within the class library so that the console app only needs a reference to the class library and not to the entity framework as well?