Commented Feature: DbCollectionEntry should have Add, Remove, Attach methods...
For a particular user case, I want to manipulate a collection but prevent it from lazy loading. For Remove to have any effect, I have to do something like this: db.Configuration.LazyLoadingEnabled =...
View ArticleSource code checked in, #04c1a4e3d7f270f1feffd1d9e8467dca8081f8f7
Fixing build break caused by Code Cleanup being run on the Release configuration rather than the Debug configuration.
View ArticleNew Post: Support for Federation needs serious work...
Support for SQL Federation needs some serious work in EF. The current state of things are pretty terrible if you are using Federation, to get it working it requires hacks, and quirky odd things like...
View ArticleEdited Issue: Rename DbSetExtensions to IDbSetExtensions [998]
See design meeting notes: http://entityframework.codeplex.com/wikipage?title=Design%20Meeting%20Notes%20-%28March%2021%2c%202013
View ArticleCommented Issue: Rename DbSetExtensions to IDbSetExtensions [998]
See design meeting notes: http://entityframework.codeplex.com/wikipage?title=Design%20Meeting%20Notes%20-%28March%2021%2c%202013Comments: Fixed in changeset 152ac6f7a9e5d29a52a3fb94f181844d9972e610
View ArticleReopened Issue: NotMapped on base property throws if derived type discovered...
An exception is thrown when the derived entity type is discovered before the base entity type containing an ignored property."You cannot use Ignore method on the property 'BaseProperty' on type...
View ArticleEdited Issue: NotMapped on base property throws if derived type discovered...
An exception is thrown when the derived entity type is discovered before the base entity type containing an ignored property."You cannot use Ignore method on the property 'BaseProperty' on type...
View ArticleClosed Issue: NotMapped on base property throws if derived type discovered...
An exception is thrown when the derived entity type is discovered before the base entity type containing an ignored property."You cannot use Ignore method on the property 'BaseProperty' on type...
View ArticleNew Post: Allowing The Writing Of Int32 DB Values Into Int64 Entity Keys
Hey guys, I have a scenario where I am writing code-first POCO entities to represent an existing DB of which I have no control over the schema. Each table has an integer-based primary key which is...
View ArticleSource code checked in, #32435ee2f8774d62562ec31067a7abca670d083c
Fixing TranslatorVisitor.Visit(MultipleDiscriminatorPolymorphicColumnMap, TranslatorArg) to pass the correct number of arguments. Removing some unneded generics Work item: 991
View ArticleEdited Issue: Stored procedures :: basic stored procedure scenario throws...
When calling a stored procedure from DbContext I get the following exception:System.Reflection.TargetParameterCountException: Parameter count mismatch. at...
View ArticleCommented Issue: Stored procedures :: basic stored procedure scenario throws...
When calling a stored procedure from DbContext I get the following exception:System.Reflection.TargetParameterCountException: Parameter count mismatch. at...
View ArticleClosed Issue: AsNoTracking().Where(x => x.myPK > aValue).Take(aNumber) wrong...
Calling the following code:```// aValue and aNumber are guaranteed valid integers for this scenario. // myPK is the primary key and is of type int.var cdrs = entities.MyTable.AsNoTracking().Where(x...
View ArticleClosed Issue: ExecuteStoreQuery - Add overload for opting out of transaction...
See design meeting notes: http://entityframework.codeplex.com/wikipage?title=Design%20Meeting%20Notes%20-%28March%2021%2c%202013Comments: Duplicate of http://entityframework.codeplex.com/workitem/978
View ArticleNew Post: Enable-Migrations encounter "System.BadImageFormatException: Could...
I used VS2010 under Win7(x64 ), installed Nuget and install the EF Package. And can read and write DB successful. But I want to Enable Migration used the Nuget Package Manager Console, then I will...
View ArticleNew Post: Allowing The Writing Of Int32 DB Values Into Int64 Entity Keys
What are benefits of having the IEntity interface? Do you use outside of your repository class? What for? If you are not using it outside your repository class I would argue you need this interface-...
View ArticleReviewed: Entity Framework 5.0.0 (三月 29, 2013)
Rated 4 Stars (out of 5) - very good thank you
View ArticleReviewed: Entity Framework 5.0.0 (三月 29, 2013)
Rated 4 Stars (out of 5) - very good thank you
View ArticleCreated Issue: Huge performance regression on 20328 nightly build [1004]
I was testing SQL Compact database creation and 4000 inserts with build 20321, and after applying build 20328, the times went from 5 secs to 15 secs.
View ArticleCreated Issue: EF requires that entity classes don't override GetHashCode [1005]
It looks like EF (I'm working with code-first style) requires that the poco entity classes not override GetHashCode(). I didn't see that in the documentation, and even if documented, it does not seem...
View Article