Skip to content

Commit

Permalink
Update OperationsQueueManager.cs (#147)
Browse files Browse the repository at this point in the history
change GetChangedEntitiesInScope to use entityEntry.Metadata.Name instead of CLR Type for proxy
  • Loading branch information
RaoulHolzer authored Nov 15, 2024
1 parent de25411 commit 3f2b4c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ internal OperationsQueueManager(OfflineDbContext context)
internal List<EntityEntry> GetChangedEntitiesInScope()
=> ChangeTracker.Entries()
.Where(e => e.State is EntityState.Added or EntityState.Modified or EntityState.Deleted)
.Where(e => this._entityMap.ContainsKey(e.Entity.GetType().FullName.AsNullableEmptyString()))
.Where(e => this._entityMap.ContainsKey(e.Metadata.Name.AsNullableEmptyString()))
.ToList();

/// <summary>
Expand Down

0 comments on commit 3f2b4c1

Please sign in to comment.