Access Entity Framework Code from Class Library

I have several class libraries I made to organize methods inside my Balzor Web Assembly app. Some of the methods need to access data from SQL. Radzen appears to store all the Entity Framework code inside the .Server project in a Blazor Web Assembly. Visual Studio will not let me create a project reference to the .Server project from a class library. Can you please let me know what is the best way to access the Entity Framework code from a class library? Is there a way to move the existing Entity Framework code to a class library and still have it updated automatically by Radzen? Thank you!

The only way to access this code is via project reference I guess.

No, this isn't supported.