ABP Suite:EfCoreRepository Template change DbContext
在 ABP Suite 專案中,若有多個 DbContext,預設的 Repository Template 可能會判斷錯誤,導致產生到錯誤的 DbContext。作者提供了一個簡單方法:修改 EfCoreRepository Template,強制指定使用正確的 DbContext,以確保穩定性與一致性。
在 ABP Suite 專案中,若有多個 DbContext,預設的 Repository Template 可能會判斷錯誤,導致產生到錯誤的 DbContext。作者提供了一個簡單方法:修改 EfCoreRepository Template,強制指定使用正確的 DbContext,以確保穩定性與一致性。
, 11 min read
Comments
No one has commented yet, be the first to comment!