Entity

public class Entity
{
    public ulong RowVersion { get; set; } // anymore byte[]
}

Context

modelBuilder.Entity<Entity>(entity =>
{
     entity
         .Property(e => e.RowVersion)
         .HasConversion(new NumberToBytesConverter<ulong>())
         .IsRowVersion();
});

In Query

ulong sinceRowVersion;

...
      .Where(e => e.RowVersion > sinceRowVersion);
...

相关文章:

  • 2022-12-23
  • 2021-08-12
  • 2021-10-11
  • 2021-09-26
  • 2022-02-25
  • 2021-06-11
  • 2021-10-30
  • 2022-12-23
猜你喜欢
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2021-10-20
  • 2021-08-06
相关资源
相似解决方案