digipolisantwerp / dataaccess_aspnetcore_deprecated

Generic repository/unit of work framework for ASP.NET Core with Entity Framework.
Other
140 stars 45 forks source link

Add serializable attribute to EntityBase #52

Closed JeffreyRosselle closed 2 years ago

JeffreyRosselle commented 5 years ago

For use in Distributed caching to Redis, entities need to be serialized into byte-arrays. Since we would like to cache some database calls, the EntityBase class should be set to Serializable.