[EF-86] Enabling Embedded Objects' Configuration for Polymorphism Created: 01/Dec/23 Updated: 04/Dec/23 Resolved: 04/Dec/23 |
|
| Status: | Closed |
| Project: | Entity Framework |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | امیرحسین رحمتی | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | feature, stability | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Hi, creating something like [BsonKnownTypes] and [BsonDiscriminator] Attributes to configure Nested Objects is one of essential features that should be available in EF Core MongoDB Provider. Code Example: {{}}
{{}} ParentType, TypeA and TypeB classes need a new feature to be configured in (DatabaseContext class // OnModelCreating method). |
| Comments |
| Comment by Damien Guard [ 04/Dec/23 ] |
|
Hi. Thanks for your issue. Entity Framework supports Type Discriminators through it's own fluent configuration API and we plan to support this in time for our 1.0 release. |