Updated Wiki: Custom Conventions
Custom Code First Conventions Code First includes a set of simple, model-wide behaviors that provide sensible configuration defaults for the parts of your model that have not been explicitly configured...
View ArticleNew Post: Implementing a Mixin Pattern in EF
I'm new to .NET and EF, in particular, coming from a Ruby/Python background. In those two languages it's common to create mixins, essentially abstract classes, that other classes will inherit...
View ArticleUpdated Wiki: Task-based Asynchronous Pattern support in EF.
EF6 will support the new simplified approach to asynchronous programming introduced in Visual Studio 2012. You can read more about it here. Goals Calling long-running methods asynchronously can have a...
View ArticleUpdated Wiki: Task-based Asynchronous Pattern support in EF.
EF6 will support the new simplified approach to asynchronous programming introduced in Visual Studio 2012. You can read more about it here. Goals Calling long-running methods asynchronously can have a...
View ArticleUpdated Wiki: Task-based Asynchronous Pattern support in EF.
EF6 will support the new simplified approach to asynchronous programming introduced in Visual Studio 2012. You can read more about it here. Goals Calling long-running methods asynchronously can have a...
View ArticleUpdated Wiki: Task-based Asynchronous Pattern support in EF.
EF6 will support the new simplified approach to asynchronous programming introduced in Visual Studio 2012. You can read more about it here. Goals Calling long-running methods asynchronously can have a...
View ArticleCreated Issue: Lack of UNION/UNION ALL flattening causes errors due to...
If I have a bunch of IQueryables that I want to concatenate into 1 and then do further processing on, I can do the very convenient:IEnumerable<IQueryable<T>> queries = ...;var oneLongQuery...
View ArticleNew Post: StorageMappingItemCollection cannot locate correct entity container...
Here is simplified description of the problem. Here is the snapshot of GetEntity method with watch over workspace showing that container with this identity exists, followed by exception thrown after...
View ArticleCreated Issue: Need UI support for migration support [634]
Typing migration command in powershell is not intuiative for me. I really want UI support, (solution explorer context menu? toolbar item? ), which I'd like to see : enable/disable automatic migration...
View ArticleCommented Issue: Custom conventions don't handle '.'s in table names [632]
repro:create a sample application with one table in the DbContextadd convention: modelBuilder.Conventions.Add(e=>e.Configure(c=>c.toTable("test.Table")));error: "The database name...
View ArticleCommented Issue: Custom conventions don't handle '.'s in table names [632]
repro:create a sample application with one table in the DbContextadd convention: modelBuilder.Conventions.Add(e=>e.Configure(c=>c.toTable("test.Table")));error: "The database name...
View ArticleNew Post: StorageMappingItemCollection cannot locate correct entity container...
I believe what you are showing in the screenshot is not an item from StorageMappingItemCollection but a reference from an item in the StorageMappingItemCollection. The item in the...
View ArticleCommented Issue: Entity Framework updating [Timestamp] property on parent...
As per unanswered StackOverflow and EF Forum...
View ArticleEdited Task: Designer: Clean up unneeded references to XmlEditor DLLs and...
During review we found that: a) EntityDesign.csproj has a reference to Microsoft.VisualStudio.Xmleditor which is unused and should be removedb) There are some definitions of XmlEditor GUIDs in...
View ArticleCreated Issue: ModelBrowser does not support rename on click [635]
At the moment it's impossible to rename items in the Model Browser by clicking on the item and clicking again to get to the edit mode. To rename an item you need to select an item and then click F2. We...
View ArticleClosed Task: Designer: Clean up unneeded references to XmlEditor DLLs and...
During review we found that: a) EntityDesign.csproj has a reference to Microsoft.VisualStudio.Xmleditor which is unused and should be removedb) There are some definitions of XmlEditor GUIDs in...
View ArticleNew Post: Inheritance for navigation only
Hi atnoslen, EF allows you to create un-mapped base types that are not part of the model and hence not reflected in the database. Taking your example above and using Code First to do the mapping the...
View ArticleNew Post: Implementing a Mixin Pattern in EF
Hi chrisdpratt, The usual approach with EF for handling cases like your address example is to use complex types. However, from a domain model perspective the complex types behave differently--they act...
View ArticleCreated Issue: Resource Contention Limiting Parallelism [636]
It seems that, when multiple instances of DbContext exist on multiple threads and each thread calls SaveChanges(), there is some form of resource contention in EF itself limiting throughput.VS2012's...
View Article