Entity Framework Feature Suggestions

Welcome! You can use this site to tell the Entity Framework Team what features you want to see in future versions of our products.

Note that moving forward our team will be only fixing bugs, implementing small improvements, and accepting community contributions in the EF6 codebase. Larger feature work and innovation will happen in the EF Core codebase.

Please consider other options besides this site!

  • If you have technical questions or need help, try StackOverflow (EF6 and EF Core) or visit our forums.
  • If you want to learn how to use our products, visit our documentation pages.
  • If you want to report bugs or make contributions, visit our project pages on GitHub: EF6 and EF Core.

How can we improve Entity Framework or Entity Framework Core?

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. 353 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      8 comments  ·  runtime  ·  Flag idea as inappropriate…  ·  Admin →

      EF6 includes stored procedure support in code first for CUD operations. Support for function imports for reads was originally postponed but currently isn’t planned as a future improvement.

      Note that EF Core still does not include stored procedure mapping yet.

    • Extensible Id Generation

      Support for other id generation algorithms: sequences, hi-lo, etc.

      58 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        1 comment  ·  runtime  ·  Flag idea as inappropriate…  ·  Admin →
      • Vastly improve LINQ translation

        LINQ to SQL is the legacy alternative to EF. EF should support almost everything that L2S always did for two reasons:

        a) to ease migration
        b) because L2S was awesome and we want EF to be as well

        Please address the issues mentioned in this post: http://scatteredcode.wordpress.com/2011/06/21/why-entity-framework-4-1s-linq-capabilities-are-inferior-to-linq-to-sql/

        I did not author it, but I found many of those attempting to migrate a bug codebase. I was forced to abandon the migration because the issues were so many.

        188 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          3 comments  ·  runtime  ·  Flag idea as inappropriate…  ·  Admin →
        • Support unsigned integer (e.g. uint) properties and keys

          If my model contains an int ID it's automatically detected as a Key field.
          I'd like to have the same support for uint ID and similar types.

          26 votes
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            4 comments  ·  runtime  ·  Flag idea as inappropriate…  ·  Admin →

            This is actually going to be supported in EF7, with a few caveats:

            1. We won’t try to automatically convert values to different types to compensate for lack of native support in the underlying data provider, so for the particular case of SQL Server we won’t have support for unsigned integers, at least at first.
            2. EF7 is a new codebase and not a superset of EF6 (see http://blogs.msdn.com/b/adonet/archive/2014/10/27/ef7-v1-or-v7.aspx) so existing applications built against EF6 won’t benefit without porting.

          • Make Entity Framework fully mockable and injectable

            Make Entity Framework Fully Mockable and injectable

            In general, mocking out the Entity Framework DAL is a big pain to accomplish. ObjectContext has no interface and the T4 templates aren't written to create interfaces for the objects they create.

            This hampers good unit testing and makes them less injectable.

            Put an interface on ObjectContext. Have the T4 Templates put interfaces around all of the objects that are generated and make sure that all objects used have interfaces so that mocking frameworks, like MOQ or Moles & Pex can automatically generate stubs to replace the objects in unit tests so that…

            193 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              3 comments  ·  runtime  ·  Flag idea as inappropriate…  ·  Admin →
            • Hooks to intercept and modify queries on the fly at high and low level

              We have seen that there are lots of discussion surrounding the generated SQL not being optimized. Entity Framework should have a provision wherein User should be able to change the Generated SQL and use it for further processing through some mechanism

              57 votes
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                3 comments  ·  Flag idea as inappropriate…  ·  Admin →

                EF6 added initial support for interception, which exposes events for query interception. Currently only access to store DbExpression trees and DbCommand are available, but interception at different levels should become possible in the future.

              • Allow using SQL Server 2012 sequence for generating primary key

                I would like support for SQL Server 2012 sequences to generate PK instead of identity. Coming from Oracle this is very important for me. See http://lennilobel.wordpress.com/2011/05/23/using-sequences-in-sql-server-denali/ for adding the DEFAULT consraint with NEXT VALUE FOR from a sequence.

                112 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  3 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • 171 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                  • Entity Framework support for Windows Store apps

                    System.Data.dll -- which is fundamental to EF -- is not available inside Windows Store Apps. Thus development of Windows Store apps is two steps back of where WPF and Silverlight development have been.

                    43 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      2 comments  ·  tools  ·  Flag idea as inappropriate…  ·  Admin →
                    • Add Support for custom Extension methods

                      Support extension methods to be defined for entities or generic extensions. As long as the extension returns an IQueryable or expression that only includes supported operations/extensions, then the provider should expand the extension method and replace it in the expression tree with the the returned iqueryable/expression.

                      Thus for the most part, any extension method encountered in the expression that is not supported, should be called to return an expression that can be inserted into the expression tree. So long as the process operators recursively as it is expanding the expression, eventually the expression tree will consist of supported expressions and…

                      13 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        2 comments  ·  runtime  ·  Flag idea as inappropriate…  ·  Admin →
                      • Make EF IoC Friendly

                        Make EF IoC friendly. It would be nice to have extensions to setup IoC w/ EF.

                        27 votes
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          3 comments  ·  Flag idea as inappropriate…  ·  Admin →

                          UPDATE: EF7 opens up to external IoC containers through integration with ASP.NET vNext Dependency Injection abstractions.

                          EF6 alpha 1 includes a service locator-based system for plugging in alternate implementations of specific services. See here for a spec: http://entityframework.codeplex.com/wikipage?title=EF%20Configuration%20and%20Extensibility

                          However, materialization is still not extensible in or other mechanism.

                        • Auto Create CRUD stored procedure

                          EF should have the ability to automatically create basic CRUD stored procedures for every table. These basic CRUD stored procedures will only focus on a single table and all it's columns.

                          An advanced feature would be the ability to auto generate CRUD stored procedures that take into account parent and child tables or many to many scenarios, etc.

                          Other features would be to create stored procedures that allow for paging and streaming of large amounts of data. Say you have a web page that list contacts and you want ot show the 10th page. It would be ice to autogenerate…

                          5 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            0 comments  ·  tools  ·  Flag idea as inappropriate…  ·  Admin →
                          • Don't see your idea?

                          Entity Framework Feature Suggestions

                          Feedback and Knowledge Base