New Post: Does Code First from Database wizard replace Entity Framework Power...
I believe that these two concepts are related but both limited by the same degree. All things considered, code first seems the best way to avoid the problems with auto-generated code. I have never...
View ArticleNew Post: EF Project Direction
I really like all the points you have in this post. There are a ton of things the EF can do better. It is through these kinds of notices that alerts the teams that there is interest in building a more...
View ArticleNew Post: Debugging migrations
I have a project that fails on the "Add-Migration" command in the console. What would be the easiest way to step through the Migrations program to see what is failing?
View ArticleNew Post: Ensuring order of elements in a list [EF6]
Hi, I'm writing an application using Entity Framework 6 code first. I have a relationship where the order of the elements must be modifiable by the user and must always be retrieved in the same way....
View ArticleNew Post: Implementation of UTC DateTime
moozzyk wrote: Maybe. I think you could also achieve this by listening to the ObjectContext.ObjectMaterialized event and fixing up the entity accordingly. When you access the...
View ArticleNew Post: EF7 & SQlite
I watched Rowan Miller's TechEd presentation and noticed he demoed EF7 using SQLite on the Phone. I decided to download the nightly build to play around with the SQLite feature. I tried to create a...
View ArticleNew Post: Suggestions for the designer
Please implement this. The majority of the effort lately has been concentrated on Code First to the detriment of Model First. There are Pros and Cons to both approaches. Please keep them in sync. Or...
View ArticleNew Post: PropertyChange at DbContext in EF 6
The best approach would be to allow adding the event via the designer per property or per model, and not ask users to modify T4.
View ArticleNew Post: Please combine Model First and Code First to be Interchangeable...
At his point in the EF development, it is disappointing that data attributes/annotations are still not supported in Model First. Using the MetaDataType attribute doesn't really cut it. Model First is...
View ArticleNew Post: Debugging migrations
Nobody has an idea? I can't imagine that EF developers don't test with other projects? I'm stuck now on a random exception which will take me a long time to figure out if I can't use a debugger.
View ArticleNew Post: Debugging migrations
Hi rogier21 Are you getting an exception stack trace printed to the console? Cheers, Andrew.
View ArticleNew Post: Debugging migrations
Hi Andrew, Yeah the stack trace is:System.InvalidOperationException: Sequence contains more than one element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source) at...
View ArticleNew Post: Debugging migrations
Which bug? It may have been fixed and, if so, are you able to upgrade?
View ArticleNew Post: Debugging migrations
This bug:https://entityframework.codeplex.com/workitem/2116 I tried the latest beta and it gives the same error.
View ArticleNew Post: Problem: explicitly loading a reference with EF6.1 EntityDataSource
Database first EDMX using T4 DbContext gen (no foreign key property inclusion) upgraded from EF 1Lazy loading disabledMicrosoft.AspNet.DynamicData.EFProvider -Version 6.0.0...
View ArticleNew Post: Debugging migrations
Are you able to provider a repro for this issue? We are considering re-opening the bug. WRT debugging, the easiest way is probably to download and build from this site and then temporarily change your...
View ArticleNew Post: EF 5 Code First inheritance mapping
Hello, i'm trying to map (TPC) a simple hierarchy with a clue of self referencing in the parent object:public abstract class SelfReferencing { public string MyName { get; set; } public SelfReferencing...
View ArticleNew Post: Entity Framework broken when it comes to deleting entities with...
Today I found out that inheritance is completely broken when it comes to cascading deletes. This is a serious flaw that would have disqualified EF from my ORM short list, if I had known this in...
View ArticleNew Post: Typed Version of ObjectParameter
Forgive me if this has been mentioned before, but I would like to offer a change to the generated stored procedure code for output parameters. Instead of instantiating and passing in an ObjectParameter...
View ArticleNew Post: EF 5 Code First inheritance mapping
Maybe it would help to show the resulting SQL table structure you have in mind. Best regards, D.R.
View Article