Skip to content

API Review: Scaffolding changes #8739

Closed
Closed

Description

@bricelam
  • Rename AnnotationRendererBase to AnnotationCodeGenerator
  • Rename IAnnotationRenderer to IAnnotationCodeGenerator
  • Remove the following
    • RelationalForeignKeyAnnotations.GetDefaultForeignKeyName
    • RelationalIndexAnnotations.GetDefaultIndexName
  • Revert making RelationalKeyAnnotations.GetDefaultName public
  • Move the following to Internal namespace or remove them if they'll show up on app code
    • ScaffoldingEntityTypeAnnotations
    • ScaffoldingMetadataExtensions
    • ScaffoldingModelAnnotations
    • ScaffoldingPropertyAnnotations
  • Rename IScaffoldingHelper to IScaffoldingCodeGenerator
  • Rename IScaffoldingHelper.GetProviderOptionsBuilder to GenerateUseProvider
  • Move IScaffoldingHelper.GetTypeScaffoldingInfo to a different interface or investigate improving its design
  • Investigate whether ScaffoldingTypeMapper can move to Internal namespace

Activity

  1. added this to the milestone on Jun 5, 2017
  2. self-assigned this
    on Jun 5, 2017
  3. weitzhandler commented on Jul 11, 2017

    @weitzhandler
    Contributor

    I'm waiting for this to come live.

    I'd really love to see an end-to-end entity graph management for disconnected clients.
    Something like Breeze# or Trackable-Entities.

    I believe with scaffolding this will become a step closer.

  4. ajcvickers commented on Jul 11, 2017

    @ajcvickers
    Contributor

    @weitzhandler What are you waiting for here? These are just renames, and they were already pushed and released in preview2.

  5. weitzhandler commented on Jul 12, 2017

    @weitzhandler
    Contributor

    @ajcvickers
    Sorry then.
    I'm not really using EF7 yet, just playing around (it's missing Complex-Types and TPT - key features mandatory to us).
    When I shall start using it (once those 2 aspects are addressed), I'm noting to myself a point where gathering metadata can be made easier.

    Really I wish the EF team would implement or adopt an in-house solution for disconnected entity graph manipulation and caching for clients.
    Specific use case would be to support UWP and Xamarin.Forms apps, which is currently a nightmare involving a lot of repetitive work.

  6. bricelam commented on Jul 12, 2017

    @bricelam
    ContributorAuthor

    Have you seen Azure Mobile Apps? Not sure if it's quite what you're looking for...

  7. weitzhandler commented on Jul 12, 2017

    @weitzhandler
    Contributor

    Thanks for the reply @bricelam
    I've fiddled with it a little bit, and from what I understood, it's good if you build your project from scratch based on it, additionally I haven't found support for committing complete graph change, which is the issue i was concerned with.
    I wish I'm wrong, can you mention here someone from the Azure team?

  8. weitzhandler commented on Aug 15, 2017

    @weitzhandler
    Contributor

    Besides Azure tables doesn't give an answer to dealing with complex entity graphs, like TrackableEntities or Breeze does. Please see my comments on #5536.

  9. modified the milestones: , 2.0.0 on Oct 15, 2022
  10. added theissue type on Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions