Contents tagged with ORM
-
Using MongoDB with Entity Framework Core Session
Yesterday I did a talk on a joint Porto.DATA and Azure & AI User Group Portugal event (thanks, Ivan Campos and Pedro Sousa, for inviting me!) on using MongoDB with EF Core. The slides are here (Portuguese only, sorry!).
-
EF Core Entity Validation
Note: I wrote a post about Data Annotations validation here.
-
Soft Deletes with Entity Framework Core – Wrap Up
Those that follow this blog probably know about my series of posts on soft-deletes with EF Core, which you can find here:
-
Soft Deletes with Entity Framework Core – Bulk Deletes
This is post 4 on a series of posts on soft deletes with EF Core. On none of my posts on this series did I mention that these solutions do not work with bulk deletes, introduced in EF Core 7, but they really don't. That is because they rely on the change tracking mechanism and the bulk delete and bulk update functionality does not use it. But as with most of EF Core, there is certainly a way around it, and in this post I will present one, using IQueryExpressionInterceptor, one of the new interceptors introduced in EF Core 7. There is also an open ticket for adding an interceptor mechanism for bulk updates, which will probably also include bulk deletes.
-
Read-Only Entities in EF Core
One feature that has been conspicuously missing from EF Core is read-only entities, meaning, the possibility to mark an entity type as read-only, in which case, no changes to its instances (inserts, updates, deletes) will be allowed; data needs to be added to the database by other means. There is currently an open ticket to track this functionality, which has been open for quite some time. While it is currently not possible to achieve exactly this functionality, there are some possible workarounds that require very little coding.
-
Soft Deletes with Entity Framework Core - Part 3
Update: SoftDeleteConvention is now generic.
-
Table Inheritance with EF Core
EF Core 7 finally delivered a long-sought desire: all of the three table inheritance patterns are now implemented. These are:
-
Current Limitations of Entity Framework Core 8
Update: updated on 31/07/2024 for EF Core 8
-
Succinctly Series Readers Awards
-
Succinctly Books Index
This page lists all the books I wrote or reviewed for Syncfusion’s Succinctly series.