New Post: Using the 'LIKE' operator inside a Lambda Expression
This might be provider specific. From what I can see DevArt MySql provider has TruncateTime function (http://blogs.devart.com/dotconnect/entity-framework-canonical-functions.html starting from v4). Do...
View ArticleNew Post: Changing the "view generation" from a single monolithic...
AndrewPeters wrote:AndrePassos, You can do that already. Cheers, Andrew.Can you do it without blowing up the c sharp compiler on large models?
View ArticleNew Post: EF5 + How to save an entity with its child entities at the same...
EF5 + How to save an entity with its child entities at the same time to the database?3 minutes ago|LINKI have two entities in my project (actually three with the item entity).public class Purchase {...
View ArticleNew Post: Where do I find the Async methods in EF 6
I updated EF5 to EF 6 none of the Async extension methods are there ie: SaveChangesAsync() dose not exist
View ArticleNew Post: Where do I find the Async methods in EF 6
As far as I can tell (I looked at the assemblies with JustDecompile), they only exist in .NET 4.5 and not in .NET 4.0, and a lot of them aren't extension-methods, but actual methods. The...
View ArticleNew Post: Where do I find the Async methods in EF 6
Async methods are not available when you target .NET Framework 4 since .NET Framework 4 does not natively support async. You need to have EF6 and target .NET Framework 4.5 to get the asyn support in EF.
View ArticleNew Post: EF Migrations: Add extension support for new operations
Hi,Just wanted to annouce that finally I got sometime to work on this, and here is the pull requestAny comments are very welcome.Iñaki
View ArticleNew Post: EF5 + How to save an entity with its child entities at the same...
Hi seevali,If all the entities are being tracked by a context, then calling SaveChanges on that context will save all the entities. if this is not working for you can you provide additional information...
View ArticleNew Post: EF5 + How to save an entity with its child entities at the same...
Hi In entity framework we meet to Tracking changes by entity state , then you add object with all children to the your context , you should have sample below code : using(MydbEntities context=new...
View ArticleNew Post: EF5 + How to save an entity with its child entities at the same...
Hi, Thank you @Arthur and @sarshogh_eng,Sorry for the late.I just solved my problem by doing a simple change in my code. I mentioned in my question that I'm using a...
View ArticleNew Post: EF Migrations... again add extension support
I’ve been reading Iñaki’s comment about improving the extensibility of Migrations as well as reviewing his pull request. Even if I agree that it improves Migration’s extensibility, I’m not so sure it’s...
View ArticleNew Post: Where do I find the Async methods in EF 6
Hi thanks for getting back to me I am targeting 4.5 and using EF 6 that is what is puzzling it is compiles against v4.0.30319 when I run Install-Package EntityFramework -Pre 'EntityFramework...
View ArticleNew Post: Native support for nested set operations
I know this is really an implementation detail and might not exactly be relevant for the runtime, but I've been working a lot on streamlining tree operations in sql server, and have begun to move away...
View ArticleNew Post: Query generation in batch insert scenarios
I'm pretty sure Entity Framework doesn't even use prepared commands when doing inserts/updates. E.g. It's not doing a DbCommand.Prepare() the first time through and then only sending parameter values...
View ArticleNew Post: Connection String Metadata Specification
I would like to propose that the Entity Frameworks Connection string retrieved from the <connectionStrings> section of the .config file should not be REQUIRED to have the Metadata specified in...
View ArticleNew Post: Merge Disconnected Object Graph
It is a fairly common when developing a web application to materialize a complex object graph from Entity Framework to render a CRUD view, and then on a subsequent HTTP request write that object graph...
View ArticleNew Post: Native support for nested set operations
Hi AntarisZX, Have you considered using SQL Server HierarchyID to store your tree data? EF doesn't yet support HierarchyID, but it is something that a lot of people are interested in and is something...
View ArticleNew Post: Connection String Metadata Specification
Hi hintzen, This sounds like a reasonable idea and we have had similar thoughts in the past. The main thing to be aware of is that Code First already uses "normal" connection strings and we use this...
View ArticleNew Post: Merge Disconnected Object Graph
Hi Eric, This is a usability issue that we are aware of and is something we have been thinking about and plan to do more work on post-EF6. I have created this work item to track the issue:...
View ArticleNew Post: Merge Disconnected Object Graph
<div dir="ltr">Hi Arthur,<div><br></div><div>Thank you for your prompt reply.</div><div><br></div><div>I would disagree that the impact is...
View Article