Is Entity Framework Required when Data persistence is required

Do I have to use Entity framework when background jobs require an entity model to be saved in the Hangfire database for job processing. As an example, can you use the Hangfire Highlighter tutorial which saves a CodeSnippet object into the Hangfire.Highlighter database?