This example allows to create dynamic entities including mapping for the Entity Framework Core while the entities are only interfaces.
The (not perfect) benchmark shows a small overhead due to additional method calls and much more casts.
Name | Iteration | Global | Count |
---|---|---|---|
TestEfCore | 17,431 ms | 87155,744 ms | 5.000 |
TestSam | 18,082 ms | 90411,889 ms | 5.000 |