New Comment on "Roadmap"
Entity Framework does not support OFFSET FETCH keyword for paging. I'm looking forward this property.
View ArticleCommented Issue: Native support for Enumerable.Contains [245]
Currently Enumerable.Contains like this:<br /><br />new [1,2,3].Contains(a)<br /><br />Is translated to an sub-tree of expressions equivalent to<br /><br />1 == a ||...
View ArticleNew Post: Create MigrationSqlGenerator for PostgreSQL
I suspected this might be the problem.I will investigate this end. For now, you can try setting the length explicitly via the MaxLengthAttribute or the HasMaxLength fluent API.Cheers,Andrew.
View ArticleNew Post: Is it possible to extend the Migration Scaffolding to generate code...
I'd really like to be able to specify my required indexes like:[Index(Name="idx_column", IsUnique=false, IsClustered=false)]publicstring Column { get; set; }and then have the Add-Migration scaffolding...
View ArticleNew Post: Is it possible to extend the Migration Scaffolding to generate code...
Scott,Not easily currently, but we are working on it and this is one of the core scenarios we want to enable.The problem right now is that, although you can define your own annotation (as of EF6), it...
View ArticleCommented Issue: EF4.3.1 on .NET 4 / VS2012 - The mapping of CLR type to EDM...
We're using EF 4.3.1 code-first under .NET 4.0 and VS2012. We have a query that looks similar to the following:<br /><br />ctx.Set<Entities.A>().Select(a => new DTO.A { Id = a.Id,...
View ArticleCommented Issue: Support Generate Views on EF6 [369]
"Generate Views" is currently not supported on EF6. This is due to the moved types and the lack of an EF6-compatible System.Data.Entity.Design.dll.Comments: See the design meeting notes from November...
View ArticleCommented Feature: Move the EntityObject code out of the main EF assembly. [364]
Neither Code First or DbContext work with EntityObject entities. We could choose to move this code into a separate assembly that people only pull in as needed.Comments: This could also mean moving...
View ArticleNew Post: Entity View generation
Hi Massimiliano,We looked a bit more into view generation for EF6. Take a look at the design meeting notes from Nov 20, 2012...
View ArticleCommented Issue: Pre-generated views should be generated as an embeded...
The tools to create pre-generated views at design time currently emit C#/VB files with the views as Entity SQL queries in strings. Several customers with very large models have hit compiler limits on...
View ArticleEdited Issue: Support Generate Views on EF6 [369]
"Generate Views" is currently not supported on EF6. This is due to the moved types and the lack of an EF6-compatible System.Data.Entity.Design.dll.<br /><br />Related work item: 436
View ArticleEdited Issue: Pre-generated views should be generated as an embeded resource...
The tools to create pre-generated views at design time currently emit C#/VB files with the views as Entity SQL queries in strings. Several customers with very large models have hit compiler limits on...
View ArticleNew Post: Entity View generation
Hi mozzyk,i'waiting for the view API, maybe should be cool to have a pluggable code generation system so you can decide to generate what you want (generate on classes\resources\ec..)Regards Max
View ArticleNew Post: Create MigrationSqlGenerator for PostgreSQL
I don't understand why the "Companies" table is perfect in the edmx model but the "Users" table has set all the maxlength attribute to "max" value: // Companies table definition. It's ok CreateTable(...
View ArticleCommented Feature: Allow DbContext to be created with an already-open...
DbContext can only be created with a closed connection, there are scenarios where it would be helpful if the connection could be open when creating the context (such as sharing a connection between...
View ArticleCreated Issue: Need documentation for Composite key ordering with Annotations...
In the code first annotations section on the MSDN documentation we should include instructions for ordering composite keys in the [Key] sectionthis is the way I found on a post on stack overflow[Key,...
View ArticleNew Post: Create MigrationSqlGenerator for PostgreSQL
Try setting the max length on your model itself. i.e. Use the MaxLengthAttribute on the relevant properties in the User class or do the same thing using the HasMaxLength fluent API from OnModelCreating.
View ArticleEdited Issue: Create Database on SQL Azure is broken due to...
When using EF to create a new database, the following code gets executed (my database name is "SnapshotIsolationTest"):<br /><br />create database [SnapshotIsolationTest]<br />if...
View ArticleUpdated Wiki: Design Meeting Notes
Entity Framework Design Meeting NotesThe Entity Framework team has a weekly design meeting in which we discuss/recap design and other issues with the codebase. These are the notes from those meetings....
View ArticleNew Post: Additional ObjectContext and EntityConnection constructors
Hi Tamas,We discussed this in the EF design meeting (Notes: http://entityframework.codeplex.com/wikipage?title=Design%20Meeting%20Notes) and decided that we would be happy to accept a contribution for...
View Article