New Post: Proposal: User-defined Expression visitors
I would like to be able to register my own expression visitor, that can be used by EF in queries processing. order to process queries. It should solve Linq Funcletization issues (like...
View ArticleNew Post: Bug in TPT inheritance of EF6-beta1?
Hi Arthur, Thanks for investigating and your explanation! Best regards, Jeroen
View ArticleNew Post: Accessibility of DbSet properties misunderstanding
I have created simple context class:class BonusContext : DbContext { public DbSet<ActCategory> ActCategories { get; set; } protected override void OnModelCreating(DbModelBuilder modelBuilder) {...
View ArticleNew Post: Accessibility of DbSet properties misunderstanding
Hi Sektor, See this SO thread for the answer: http://stackoverflow.com/questions/7636734/c-sharp-dbset-internal-object-cannot-be-got Cheers, Andrew.
View ArticleNew Post: InvalidCastException when converting EF4 provider to work as an EF6...
I’m working on getting the Visual FoxPro Entity Framework Provider to work with EF6 and have run into an issue that I can’t resolve without asking for a change to the EF6 code.Requested Change: I'd...
View ArticleNew Post: Using System.Spacial portable version with EF6, rather than non...
Hi I am using System.Spatial 5.6.0-rc1 which is a PCL version. I have used GeographyPoint in a PCL library, that is then being used in an entity mapping, attempting to use this type instead of...
View ArticleNew Post: Using System.Spacial portable version with EF6, rather than non...
Hello Andy, EF comes with its own set of spatial types and currently doesn't support the types defined in System.Spatial.dll. This is something that we would like to add in the future, however it is...
View ArticleNew Post: Using System.Spacial portable version with EF6, rather than non...
Hi Diego Thanks for confirmation about the spatial types. I have voted for the issue. It would be very cool if custom conventions could allow that scenario of mapping PCL base GeographyPoint classes to...
View ArticleNew Post: Native support for nested set operations
While I love HierarchyID and implemented a set of Table-Valued Functions wrapped in stored procedures and a Tree Repository C# library, I am a bit skeptical of the future of HierarchyID in EF for the...
View ArticleNew Post: Accessibility of DbSet properties misunderstanding
Andrew, thanks a lot. I followed the advice of Eranga user, but compiler gives me error: "The type 'System.Data.Entity.DbSet<TEntity>' has no constructors defined". Here's my code (EF6 Beta...
View ArticleNew Post: SqlAzureExecutionStrategy not retrying on "Timeout expired" errors
My website is running in Azure cloud, and recently I updated EF to 6 (beta 1, as in NuGet) to minimize connection errors (I usually got one per week). But couple days after update I got errorlog again:...
View ArticleNew Post: Accessibility of DbSet properties misunderstanding
Hi Sektor, The code above looks fine and I was able to compile it without error. Based on the compiler error you are getting, it looks like you may be trying to instantiate a DbSet<T> in some...
View ArticleNew Post: Code First Insert/Update/Delete Stored Procedure Mapping for Other...
Hello All. I'm part of the team working on MySql DB Provider (Conector/Net), and I want to add the feature MapToStoredProcedures, but I can't found a class that I can use for override to implement it....
View ArticleNew Post: SqlAzureExecutionStrategy not retrying on "Timeout expired" errors
@just_dmitry The SqlException with error code -2 (Timeout) is not retried on by default. We believe that this type of exceptions is NOT something we should encourage the developers to always compensate...
View ArticleNew Post: InvalidCastException when converting EF4 provider to work as an EF6...
Hi Tom, Thanks for reporting this. I have created the following issue to tracking fixing it: https://entityframework.codeplex.com/workitem/1502 The fix likely won't make it into the upcoming RC release...
View ArticleNew Post: Baffled. Model updates, but not the list of items it contains
@Budoray The update method sets the state of "room" to Modified but does not do anything to the state of any related exists. If you are not doing anything other than what is in the code then the state...
View ArticleNew Post: Extentsion of ESQL to support Insert/Update/Delete
@anba1au This is an interesting idea but it seems unlikely that we will do this. ESQL is not a very heavily used feature of EF and adding full CRUD support would be a considerable amount of work....
View ArticleNew Post: EF6 Beta1 - db.Database.CreateIfNotExists(); doesn't create the...
@michaelsync This is probably related to this work item: https://entityframework.codeplex.com/workitem/1192 The code went through some transitory stages where the experience was not very good. What we...
View ArticleNew Post: Accessibility of DbSet properties misunderstanding
@Andrew I can't believe my eyes, but today the code is compiled just fine and all works! May be this is some bug in VS 2013? :) Thanks a lot for your answer! It really helped me.
View ArticleNew Post: EF6: Can't get async operations to work with CancellationToken...
I'm having massive problem with getting the async methods to work with a cancellation token. Is this a bug, am I doing it wrong, or is it simply not implemented into beta...
View Article