Quantcast
Channel: entityframework Discussions Rss Feed
Browsing all 1793 articles
Browse latest View live
↧

New Post: QueryCacheManager as injectable service

hi Diego, At this moment I am reviewing a solution that use Entity Framework for command and queries. The development team had identified several issues before I started my review, and show me the next...

View Article


New Post: Queries run through DbSet.SqlQuery do not appear to have mapping...

I am fairly sure this is a error on my part or something "working as intended" but I did not realize it is intended that way which is why I am posting it here instead of in Issues. It appears that if...

View Article


New Post: Queries run through DbSet.SqlQuery do not appear to have mapping...

This is currently not supported - see: https://entityframework.codeplex.com/workitem/233

View Article

New Post: Queries run through DbSet.SqlQuery do not appear to have mapping...

That's what I was looking for, thanks! Here's to hoping for a opt-in option for 6.2.

View Article

New Post: QueryCacheManager as injectable service

I think this is a great idea Unai. For applicaitons that use complex queries, especially TPT inheritance structures, keeping queries in the cache is vital for performance. At the moment I don't have...

View Article


New Post: Problems with model after upgrade to 6.1

I have a large model using code first with migrations When i create a new migration i creates all the indexes again, and canot apply them because they already exist. public partial class VerUpdate :...

View Article

New Post: can i used the desinger to exteract with refrenced project

hi , is there a way that i can create association or inheritance between entities that are in 2 different assembly ? for example , i can have a template assembly that have Contact ,Company, Address...

View Article

New Post: Caching and lazy loaded parent-child relationships

Hi, I asked a question on stackoverflow already, and haven't seen any comments, so I thought I'd ask a simpler question here. If I cache data that came from EF (parent table), will the lazy-loaded...

View Article


New Post: EF6: Using Rhino to Mock DBSet, can't stub Provider

@jspetit You will need to make sure that the Provider property of the IQueryable interface has an implementation defined by the test double. When using Moq this is done with the As<IQueryable>...

View Article


New Post: Caching and lazy loaded parent-child relationships

@saveliev The short answer is no, it will not work correctly. DbContext is not thread safe, so anything done with a context instance should be done by only one thread at a time. Also, it is true that...

View Article

New Post: EF 6, Self-Tracking Entities

Arthur, This is not an acceptable answer. For enterprise class systems, ASPNet WebApi is a joke. I really don't want to expose my CRUD out of a service and have all of my business logic in the client....

View Article

New Post: EF 6, Self-Tracking Entities

Hi Arthur, My Trackable Entities solution correctly implements what the EF team tried to do with STE's, so I'm not sure how TE's would not address your needs. It has a client-side change tracker that...

View Article

New Post: Unit testing with EFa3

Hmm, I just tested with every combination of using FirstOrDefaultAsync() with and without a predicate and with and without a Where() preceeding it and they all seemed to work. This is the exact...

View Article


New Post: Unit testing with EFa3

It's working now, but I don't remember why exactly it wasn't before. I must have been doing something incorrect in my expression. Thanks for attempting it and verifying.

View Article

New Post: Caching and lazy loaded parent-child relationships

Thanks so much for quick reply! May want to document this somewhere - don't cache lazy loaded hierarchies! Because this is too easy to do. And once you rely on this technique, it's very hard to switch...

View Article


New Post: How it will work with Entity Framework Caching Provider Wrappers

Today I published an alpha version of Second Level Cache for EF 6.1 on NuGet. The package is available here: http://www.nuget.org/packages/EntityFramework.Cache The code is available here:...

View Article

New Post: EF & Mono under Linux

SOLVED !!! : Finally I found how to avoid the Exception. I changed under System.Data.Entity.SqlServer.SqlProviderServices under QueryForManifestToken From: var serverType = sqlVersion >=...

View Article


New Post: EF & Mono under Linux

Hi Liviu, This is an interesting find. I wonder if this is reproducible without EF. Can you try the following snippet and let me know?using (var connection = new SqlConnection(connString)) {...

View Article

New Post: EF & Mono under Linux

Hi Pawel, You are right. The problem is somewhere between Mono and SQL Server. I was able to replicate the issue using your snippet. The workaround you gave it to me works great too. Thank you very...

View Article

New Post: EF & Mono under Linux

I am glad to hear that the work around worked. Since you were able to reproduce the bug in your environment - can you file it in the mono bug tracking system (I believe it is here...

View Article
Browsing all 1793 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>