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.
Remember that this site is only for feature suggestions and ideas!
If you have technical questions or need help with EF try StackOverflow or visit our forums.
If you want to report a bug you found in EF use the Entity Framework project page on CodePlex.
If you want to find more information about the Entity Framework go to our MSDN site.
-
Cascade Delete with Triggers
Using triggers for cascade delete/set allows for multiple cascades on the same table where the built-in sql server cascade does not
4 votes -
Collation support
Currently strings are compared via default database collation or column collation when the comparison is translated to SQL. But they are compared to be binary equal when the code is executed in CLR.
So adding .ToList() before .Select() may suddenly change the result of comparison. And the tests with mocked IQueryables also work differently from the database translated queries.
Also it's sometimes required to compare strings using different collation. Currently that's only possible if you load the entire data into memory first and compare in CLR. However, even that case is troubling since there is no exact equivalent of SQL…
3 votes -
Dynamic Mapping at runtime
support EF for dynamic mapping at runtime via a strait-forward API for creating a table and map it to model (for Code First). this is useful for Enterprise level application such as BPMS, Felixble CMS and ...
3 votes -
3 votes
-
Specify order of SQL Insert/Update statements
Sometimes we find ourselves fighting against EF's algorithm for Insert/Update statements. It doesn't always get it right, or we just want more control, which is when it would be useful to override or give "hints" to it on what should be done.
3 votes -
I want to call LINQ to SQL wizard on click of button click. On the click of the button the LINQ to S
I want to call LINQ to SQL wizard on click of button click. On the click of the button the LINQ to SQL wizard will be shown from which I can generate .dbml programmatically at runtime. Same scenario I want on Entity Framework also. I think there should be provision to call EF and LINQ wizard programmatically, so that I can genrate .dbml or .edmx file on runtime
3 votes -
Support for MERGE (UPSERT) statement
I would like to see the T-SQL MERGE statement supported. For multi threading situations it really would be useful.
3 votes -
Query from entity
The Query method on the DbCollectionEntry and DbReferenceEntry classes provides access to the underlying query that the Entity Framework uses when loading related entities. A similar Query method should be added to DbEntityEntry.
3 votes -
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…
3 votes -
Search the Entity Model in VS Designer
Provide the ability to search the Entity Model from within the Visual Studio Entity Model Designer. Currently, in order to find an entity, one must scroll and navigate all over the place. If there was a search box that could take you directly to the entity, it would save TONS of time, especially if you have a lot of tables to sift through.
3 votes -
3 votes
-
Support Pessimistic Concurrency
Allow a Select with UpdLock which locks all returned entities in the Database. This is a basic requirement to program for example a ticket sales portal with entity framework! So far it's not possible and I still have to stick to NHibernate :(
3 votes -
Upgrade model to include FK
I'd love a tool for upgrading the model from version 1 to version 4.
3 votes -
Use multiple result sets to handle Include statements
Currently, EF uses a flat query in order to populate navigation property values when using eager loading via the Include statement. While this is acceptable in some (perhaps many) cases, there are a lot of cases where this produces unacceptable queries, whether from a size or performance perspective.
While this performance bottleneck can be partially avoided by using LoadProperty, this is
a) less expressive and more verbose
b) potentially more expensive, as it requires a round-trip for every property on every entityInstead, please allow us the option of having EF generate multiple SELECT statements to address each navigation property
3 votes -
Support of chained Transactions
Support of common transaction to execute data modification instructions natively in the entity context across two or more tables in the model
3 votes -
SaveChanges Customizations
SaveChanges on the ObjectSet is such a black hole... it would nice to be able to take more control over the process. Especially as an architect trying to create an architecture around EF...
3 votes -
Complex (struct) key properties for tables with multiple primary keys. Enabling easier search by key
Some tables have more than one field included in primary key.
This makes definition of generic methods that search by key hard to implement.
If it would be possible to combine all database keys into one struct in model, and enable T4 templates to recognize which property is the key, template-generated repository could be much more powerful.
3 votes -
3 votes
-
T-SQL Queries, stored proc support for DomainServices / edmx model
Stored Procs need to be accessable from DomainServices. From ObjectContext, Where clause besides for .Equals and .StartsWith range testing and >= and <= are needed. Querying on dates is an absolute necessity in LOB apps. Dates in the Equals clause currently throw an error! Procs offer the ability to Join tables.
3 votes -
Improved Table Per Concrete Type Performance.
Like the TPT improvements, seeing improvements to concrete types would be great.
3 votes
- Don't see your idea?