Edited Issue: Make System.Transactions work with Async [600]
Transaction.Current uses thread-local storage, meaning that it could be lost in an async invocation.
View ArticleEdited Issue: Investigate Code Contracts static analysis errors [625]
Andriy ran analysis and found 27 possible errors. These should be investigated.
View ArticleNew Comment on "Multi-tenant Migrations"
What is the recommendation for fully qualified namespaces (Tenant.Schema.TableName)? I believe Sql Server qualifier are ServerName.Owner.Schema.Table.
View ArticleCreated Issue: EntityType.Name shouldn't be Read-Only [681]
Specifically: System.Data.Entity.Core.Metadata.Edm.EntityTypeThis property needs to be exposed to allow model based conventions to change table names
View ArticleCreated Issue: Update SQL Server and SQL Compact providers to use public...
BasicExpressionVisitor in the core EF code is now public. However, the providers are still using copies of this class that were made when it was internal. It should be possible to update them to use...
View ArticleNew Post: Weird behavior of DbConfiguration [EF 6]
Hi, Arthur! Thanks for thorough explanation! Yes, I just begin playing around with Code First, and your explanation helped me greatly! Thanks once again! With regards,Eugene
View ArticleNew Post: Entity's state isn't updated
Well, I began playing around with Code First.I have created simple database and appropriate code for Code First (VB 11).Class FLContext : Inherits DbContext Property Districts As DbSet(Of District)...
View ArticleCreated Issue: EF loads entire child collection when item is added to context...
I've found that when using lazy child collections, the collection is loaded when an item is added directly to the context. This is a problem because the collection may be very large. I think EF wants...
View ArticleEdited Issue: EF loads entire child collection when item is added to context...
I've found that when using lazy child collections, the collection is loaded when an item is added directly to the context. This is a problem because the collection may be very large. I think EF wants...
View ArticleEdited 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 ArticleEdited Feature: Allow DbContext to be created with an already-open existing...
This item was migrated from the DevDiv work item tracking system [ID=7992]. <br />
View ArticleCommented Feature: Allow DbContext to be created with an already-open...
This item was migrated from the DevDiv work item tracking system [ID=7992]. <br />Comments: Checked in change #56e510c. Updated EntityConnection State so it now tracks the underlying store...
View ArticleSource code checked in, #e2ebce339760
Updating lightweight conventions API to hang directly off of DbModelBuilder. * Removes Add overloads from ConventionsConfiguration * Adds Entities and Properties methods to DbModelBuilder * Includes...
View ArticleCreated Issue: We are using DebugCheck to verify arguments of public methods...
As part of removing of CodeContracts, a few isues have creeped in - i.e. using DebugCheck to validate arguments of public methods. Example would be:In DbExpressionBuilder.cspublic static...
View ArticleCommented Feature: Allow DbContext to be created with an already-open...
This item was migrated from the DevDiv work item tracking system [ID=7992]. <br />Comments: Updated the EntityConnection State to reflect the underlying store connection State and updated several...
View ArticleNew Post: SQL Server 2012 SEQUENCE support
Will EF support SQL Server 2012 SEQUENCE? As for EF6, it doesn't support it.
View ArticleCreated Issue: Error when browsing to WCF Data Services WcfDataService1.svc/...
I have created a localdb using codefirst in VS2012 which works fine.I can access the data in my table using the dbContext from a Console App - all seems good.#Now, I'm trying to expose this data...
View ArticleNew Post: Performance issues
We were doing a performance test of EF 5 and EF 6(alpha) against NHibernate.Our test consisted of inserting records in one single table (without constraints, etc), running multiple threads. We found...
View ArticleClosed Issue: use codefirst how to set decimal like decimal(18,5) [674]
use codefirst how to set the model's decimal field,when the database creating can be generate like decimal(18,5)Comments: Per Andrew's comments you can use the HasPrecision and HasScale methods of the...
View Article