Last Updated:
23 Jun 2025 09:23
by Martin Ivanov
EntityFrameworkCoreDataSource: Allow using classes without empty constructors as the type of the QueryableEntityCoreCollectionView<T>
Currently, the QueryableEntityCoreCollectionView<T> class forces you to have an empty/parameterless constructor for the T type. This allows easier creation of the items at runtime. However, in some situations it makes sense to allow classes with only constructors with parameters. Such scenario is when following the DDD (Domain-Driven Design) pattern where it is strongly adviced to avoid having empty constructor in your entity classes.