Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

Microsoft.EntityFrameworkCore.InMemory updates Attach entities

$
0
0

Hi,

I start to use Microsoft.EntityFrameworkCore.InMemory for testing purpose (with xunit and moq).

During my tests, I "discovered" that Microsoft.EntityFrameworkCore.InMemory update entities, even when they are marked as "Attach", while my controllers work as expected with any real database.

Is it the normal behavior for Microsoft.EntityFrameworkCore.InMemory?


Viewing all articles
Browse latest Browse all 1698

Trending Articles



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