I came across a situation of this type quite a few times, and the solution I came to is that the types of events must be explicitly defined, and an enumeration is created for each record, such as ...
Public enum EventType { Info = 100, Error = 200 }
I would create a db script that creates the elements in the database and synchronizes them manually.
I cannot understand how it would be wise to use them as a dynamic type, since you would use them only explicitly (for example, recording an event of a certain type).
As far as I know, EF does not support modeling entity records, only schemas
Baldy source share