-
My issue is that the I am not getting the change tracking even when I attach the object to the context. This is no way I can find to only set properties to modified and set the entire object to modifi…
-
在 EF Core 中,如果
```csharp
public class Foo
{
public List contents { get; set;}
}
var foo = dbContext.Foo.First();
foo.contents.Add("some value");
dbContext.SaveChange(); // foo.conten…
-
I just builded an apk (xamarin forms) with ef core and it throw the foolowing exception:
![Screenshot_20220508_160544_com companyname gothamstrategy](https://user-images.githubusercontent.com/9019441…
-
Why does the EF Core 9 method `AddPooledDbContextFactory` doesn't have a parameterless method, like `AddDbContextFactory` ?
I'm using the DbContext in two different way:
`AddDbContext` for my MVC pa…
-
-
How do I denormalize data in Ef Core with Azure cosmos db provider?
As shown in this documentation: https://learn.microsoft.com/en-us/azure/cosmos-db/nosql/model-partition-example#v2-introducing-de…
-
Cool work @yangzhongke. Thanks!
Have you tried this with EF Core 3?
Just out of interest :-)
-
# ORM (一. EntityFrameWork 之 AsNoTracking) | 平屋慢生活
一直以來常有建議說 EF 的 Best Practice 是,當我們單純讀取資料庫時,想要提升效能必須加上 .AsNoTracking(),也就是告訴 Entity Framework 不要追蹤查詢結果中的實體 但實際上一個查詢背後做了甚麼事情呢? 讓我們導讀這一篇文章:https://www.t…
-
### Introduction
As per Altinn policy, all solutions should be running on the latest .NET major
### Implementation
All projects should be using .NET9
```[tasklist]
### Tasks
- [ ] Upgrade all projec…
-
* Create a packageable C# library named `SurrealDb.EntityFrameworkCore.SurrealDb`
* Create a test project named `SurrealDb.EntityFrameworkCore.Tests`
* Create an example project named `SurrealDb.Exa…