how detect OwnsOne and OwnsMany entities in ef core 8 with reflection?
I want to add ShadowProperts to all entities.
What I did is to add shadowProperties to the parent class (Entity).
For this purpose I have written the following code in DbContext:
how detect OwnsOne and OwnsMany in ef core 8 with reflection?
I want to add ShadowProperts to all entities.
For this purpose I have written the following code in DbContext:
Exception when trying to make a dynamic database call
I have a group class that contains members, which can be of different class types.
Exception when trying to make a dynamic database call
I have a group class that contains members, which can be of different class types.
EF Core changes ID of entity on add. Entity cannot be tracked because another instance with the key value is already being tracked
I’m working on a library for generating random data for relational databases. I’m using reflection to add instances of entity in my DbContext
because I cannot explicitly specify type of the instance.
C# reflection get method with no parameters
I have this code: