First, you'd need to have separate source queries for each event source. Inheritance isn't supported in queries.
In your adapter/source, you would need use reflection to populate the fields. Or you could have each payload support a specific interface that takes name/value pairs and populates the fields. Only the properties get passed into the query; your payloads aren't
present in the engine - they are only used for determining the schema.
In the "legacy" adapter model, you can also use untyped adapters; they enqueue events with name/value pairs. This isn't in the Reactive model introduced in 2.1; you would have to use another method.
DevBiker (aka J Sawyer)
Microsoft MVP - Sql Server (StreamInsight)
If I answered your question, please mark as answer.
If my post was helpful, please mark as helpful.