Skip to content

Create article with workarounds for missing popular features #684

@divega

Description

@divega

This is an opportunity for us to provide some guidance on how to deal with the absence of some features until we have them. For example:

  • Many-to-many: @ajcvickers' blog posts
  • TPT: Use composition or TPH, or use views
  • Spatial: Use SqlGeography and SqlGeometry or materialize to byte[], and FromSql, function mapping
  • Stored procedure mapping: ExecuteSqlCommand, triggers, updatable views, etc.
  • Graphical visualization of model: use third-party tools
  • Entity splitting: views
  • Change tracking proxies
  • Missing lifecycle hooks
  • Simple logging: simple patterns to hook up logging
  • Interception: use diagnostics
  • Filtered Include: use conditions and short-circuiting in global filters

It should probably be part of the porting section, although workaround can be used in new applications as well.

Note that this is also not necesesarily for EF6 gaps (e.g. filtered include wasn't there).

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueThis issue should be relatively straightforward to fix.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions