New Post: TVF and code-first
It was on the roadmap before for EF6, but then got secretly removed with an update so I wouldn't count on it.
View ArticleNew Post: The changes to the database were committed successfully, but an...
I have a winforms application that uses EF5, .NET 4, and SQL Server 2008. I have the following table\entity in the database. The T-SQL to create the tables is shown below. CREATE TABLE...
View ArticleNew Post: Native support for nested set operations
Talk about a bad post. Now VS 2013 is announced, so EF6 will be out this year ;)
View ArticleNew Post: Namespaces and generated classes in Model First.
In general the EF Designer exposes only CSpace concepts and therefore the schema as an SSpace concept is not exposed. Also note that even though the designer by default creates a 1:1 mapping between...
View ArticleNew Post: EDMX XML Namespaces issue
Hi, i've installed the new EF 6 beta 1 Tooling on VS2012 and looks like something is changed, in fact new tooling cannot validate an edmx even if previous version did. e.g.<edmx:StorageModels>...
View ArticleNew Post: Enable-Migrations encounter "System.BadImageFormatException: Could...
Hi, i ran into the same issue. I had a Contracts component and a DAL component referencing the EF and Contracts component. E.g. Contracts.dll DAL.dll -> Contracts.dll Due to a dependency of a Oracle...
View ArticleNew Post: EDMX XML Namespaces issue
Hi Max, Can you paste the full edmx file? I suspect that for some reason the edmx prefix is bound to a non-v3 namespace uri for the edmx format and therefore v3 schemas under non-v3 edmx root are...
View ArticleNew Post: EDMX XML Namespaces issue
Hi Pawel, here it is<?xml version="1.0" encoding="utf-8"?> <edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx"> <!-- EF Runtime content -->...
View ArticleNew Post: EDMX XML Namespaces issue
Hi Max, Validation is something we are still working on. At the moment we use EF5 to validate models and therefore when you target .NET Framework 4 v3 schemas are not recognized and you get the errors....
View ArticleNew Post: The changes to the database were committed successfully, but an...
I finally found my problem and as I suspected it was something stupid I did. In my model, I was building the query, loading values and returning a BindingList. What I did to fix it was to check to see...
View ArticleNew Post: Multi-tenancy and connection pool
I tried the code you provided but cannot repro the issue. Since your implementation of the EF Provider does not support creating a database I commented the AddDependencyResolver call from XDConfig for...
View ArticleNew Post: Multi-tenancy and connection pool
Which version of EF are you using? I am using '6.0.0-alpha3-20222', shown as Product Version in EntityFramework.dll file property. I have got the reference of this DLL through NuGet. The thing you...
View ArticleNew Post: Multi-tenancy and connection pool
I have just got the EF6 beta1; looks like the issue has been resolved. Since this was the test project, let me check this out in my actual project, will update you if the problem is still there....
View ArticleNew Post: EF6 user defined function with Fluent API/Code First
Hi, We are using FluentAPI currently (thanks to PowerTools > Reverse Engineer Code First). We developed all our logic on top of that but we are still unable to access UDFs. I don't think that the...
View ArticleNew Post: EntityGraph and VS 2012 using Entity Framework 5
EntityGraph for EntityFramework is indeed an extension to EntityFramework, that introduces a new way of querying your data. I called this graph-based querying (GBQ). In short, the benefits of GBQ is...
View ArticleNew Post: EF6 Beta1 MappingException unclear error message
I found the reason but I can not figure out why it is happening, it has something to do with my inheritance mappings: Can anyone detect anything wrong here? Tried removing of keys, mapping to MediaId...
View ArticleNew Post: Why can't we have additional properties in a many-to-many join...
I run across this scenario all the time and I'll admit up front that I'm a developer not a DBA. However, I really don't think this is just a developer issue. In my scenario, I have some sort of parent...
View ArticleNew Post: Applying expressions to entities
Hi, Is this feature in plan for EF6? any examples?
View ArticleNew Post: Proposal: Graph-based querying for Entity Framework
Hi Merijn, Thanks for getting in contact. I have taken a look at your project description and it looks like an interesting extension to EF. I have a few questions:Do these queries go through the EF...
View Article