New Post: Error only in shortcut network = The type initializer for...
I am glad to hear that code-based configuration helped, but still wish we knew the reason it didn't always work with the app.config. Please let us know if you find out what the reason. Thanks, Diego
View ArticleNew Post: SQL Server 2012 OFFSET FETCH
Never mind, I had a small sprint, and it is too hard for me :-)
View ArticleNew Post: ConstantTranslator.TypedTranslate and null values
For HasFlag I was leaning towards throwing for constant nulls and let the database take care of cases where the null is a result of the query. I don't see a huge value in allowing constant nulls for...
View ArticleNew Post: Upgraded to EF6; Includes Inherited Automatic Read-Only Properties?
Hi Dave, Thanks for bringing this to our attention. I have filed a bug for it here: https://entityframework.codeplex.com/workitem/1935 As a workaround it might be possible to use a convention to ignore...
View ArticleNew Post: I am having a lot of problems, when I am trying to migrate changes...
Hi Sylvester, From looking at the code you provided this seems to be indeed a case in which EF 6.0.1 isn't smart enough to guess that some column just requires a rename as opposed to being dropped and...
View ArticleNew Post: ConstantTranslator.TypedTranslate and null values
Given the translation I think it would actually evaluate to true :) I guess I just don't see enough value in special casing constants, but if you want to see a precedent of doing this look at the...
View ArticleNew Post: Entity cannot deleted from child collection but can be from context
@Sebazzz The behavior of the example you show is as expected with regards to the way EF currently handles relationships. I will try to explain. First, when you remove an entity from a collection...
View ArticleNew Post: Upgraded to EF6; Includes Inherited Automatic Read-Only Properties?
Hi Arthur, Thanks for responding and for filing a bug. I've already worked around the issue with a T4 template that generates calls to Ignore in the model builder for various properties. It's good...
View ArticleNew Post: Entity cannot deleted from child collection but can be from context
Hi Arthur. Thank you for your very clear explanation. You’re right, when you see it as actually destroying the relation opposed to deleting the entity, it makes perfect sense.I will vote for that...
View ArticleNew Post: I am having a lot of problems, when I am trying to migrate changes...
Thanks, I will try nightly builds.
View ArticleNew Post: EF6 support for ASP.NET WebForms EntityDataSource
I have been waiting on an updated EntityDataSource control. The reason I'm using EntityDataSource is because filtering and paging are done in the SQL Server with this control. I need this because I...
View ArticleNew Post: EF6 support for ASP.NET WebForms EntityDataSource
It's worrisome that a control that is essential to upgrade many existing webform sites was dropped for the original EF6 release. The absence of information here suggests that EntityDataSource simply...
View ArticleNew Post: Error with not existing columns
This is the situation: We have various customers. Each customer has a database that is based in a common minimal DB but some of them have their personalizations, added some columns, some tables... Now...
View ArticleNew Post: WI 687: Consider refactoring...
I'd like to take this work item. After looking at the partials, I think splitting them (into PublicMetadataHelper and InternalMetadataHelper) would be better than merging them with regions. In the...
View ArticleNew Post: "UseDatabaseNullSemantics" vs. "UseCSharpNullComparisonBehavior"
Are "UseDatabaseNullSemantics" and "UseCSharpNullComparisonBehavior" opposites? The connection is not completely obvious here(?) UseDataBaseNullSemantics seems to be a broader flag that deals with...
View ArticleNew Post: "UseDatabaseNullSemantics" vs. "UseCSharpNullComparisonBehavior"
Hi Roger, Yes, they are opposites. We decided to change the name (and invert it) when we started exposing it in the public surface of DbContext in EF6. The broader meaning of the name in the DbContext...
View ArticleNew Post: String concat behavior
The current support for string concatenation is quite limited. So I've been playing around with it in my fork for issue1904. The current behavior for string concat is based on two different ways. First...
View ArticleNew Post: String concat behavior
Roger, This all sounds great to me. Sorry if we haven't been able to process your pull request more quickly, but we are heads down working on other features and bug fixes. We will try to get to it very...
View ArticleNew Post: String concat behavior
No worries :) Well, enums to string could be done, but there are some issues; First, if the enum is a non mapped enum, it will not exist in the Edm, correct? those enums are just translated to integral...
View ArticleNew Post: String concat behavior
Great explanation. This was my conclusion as well. For now, if they are just treated as integers I think it is better than nothing. Although the actual declared member names are lost, the numbers can...
View Article