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

New Post: EF6 startup performance

Hi Diego, I have sent the project to your email address. I have packed it with Ef6 library, so you can immediately reproduce the problem. However, if there is a problem with email size (approx 8MB), I...

View Article


New Post: Testing with async queries doesn't work

I've run into the same issue using the Test Doubles example TestDoubles instead of the mocking example. I'll check when I go to work tomorrow but I have found some queries work such as FirstAsync but...

View Article


New Post: EF6, Enumerable.Contains and auto compilation

This is actually not true. A trip through the source code today reveals that any queries containing an IEnumerable<T> parameter are ALWAYS invalidated since an item in the collection "could...

View Article

New Post: EF6 runtime DbContext/ObjectContext supports MEST?

Hi Diego. I checked the new version 1763ddb2f4f8. It works well. I can get SchemaInformation from both System.Data.SqlClient and Npgsql providers! Sorry for taking so much time to verify your fix. I...

View Article

New Post: load master and refresh details,how to?

table a,table b first a.load(); then find a with include "b" here i update b with sql in sqlserver managerment if I use objectContext.Refresh(RefreshMode.StoreWins, b.Local); I can get the new b items...

View Article


New Post: Spatial DataReader and Wrapping Providers in EF6

To get my head around the new style of wrapping providers in EF6 I have put a quick sample together but I am struggling when it comes to the spatial data reader. The exception I get isSpecified type is...

View Article

New Post: Spatial DataReader and Wrapping Providers in EF6

Modelpublic class TestEF6DataSource : DbContext { public DbSet<MattShape> MattShapes { get; set; } } public class MattShape { [Key] public int MattShapeId { get; set; } [Required] public...

View Article

New Post: Multi-tenancy and connection pool

Exposing the baseConnection.StateChange events in XDConnection might help to resolve the "The connection is not open." exception thrown on SaveChanges, e.g.:public override event...

View Article


New Post: Multi-tenancy and connection pool

@snowgon - this was indeed the problem here - it was resolved here

View Article


New Post: EF 6, Self-Tracking Entities

FYI, I authored Trackable Entities as a replacement for STE's: https://trackable.codeplex.com. It's deployed as a set of NuGet packages and Visual Studio extensions. There are a set of project...

View Article

New Post: What UseLegacyProvider=True means

I switched my project to Entity Framework v6. When I Updated Model from Database, EF Designer included this element in EDMX:<DesignerProperty Name="UseLegacyProvider" Value="True" /> What it...

View Article

New Post: EF6 support for ASP.NET WebForms EntityDataSource

Hi Diego, Is there any targeted date for a release of the EntityDataSource build EF6 compatibable version? I really need it ! Thanks.

View Article

New Post: "MappingViewCacheFactory is already set and cannot be modified"

if I create a context which is created in child threads ( no sharing across threads ), I get the following error "MappingViewCacheFactory is already set and cannot be modified". If I make sure I create...

View Article


New Post: "MappingViewCacheFactory is already set and cannot be modified"

The issue seems to be caused by a race condition in the code that initializes the mapping view cache factory and we are working on fixing it for EF 6.0.2. Workitem 1843 will track this work.

View Article

New Post: "MappingViewCacheFactory is already set and cannot be modified"

Is SotrageMappingItemCollection.MappingViewCacheFactory set explicitly or is the code using DbMappingViewCacheTypeAttribute to specify the mapping view cache?

View Article


New Post: Namespace is changed when moving EDMX file to another folder

This is REALLY annoying glitch (full video - http://sdrv.ms/HUi7m5). Say, I have generated some model. The file is called "TestModel.edmx". Then, I begin creating code:namespace TestEF { async private...

View Article

New Post: SQL Server Compact 3.5 provider for EF6

Hi Team, I have heard a few requests for a SQL Server Compact 3.5 provider for EF6 - how do you feel about me adding that to the codebase? (Only minor changes to the 4,0 provider are required as far as...

View Article


New Post: Multiple contexts per db and automatic migration

In my current project I use one db for different contexts using HasDefaultSchema. All contexts have a custom initializer, that automatically migrates to the newest version using...

View Article

New Post: What UseLegacyProvider=True means

This property is added when you are using the Entity Framework 6 Tools for Visual Studio with an EDMX file that is for a project that targets Entity Framework 1-5. Its only affect is that, at...

View Article

New Post: Multiple contexts per db and automatic migration

Hi mat, I think you might need to take a look (and set the correct values for) the following DbMigrationsConfiguration properties: 1) MigrationsNamespace/MigrationsAssembly - this is how to specify the...

View Article
Browsing all 1793 articles
Browse latest View live


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