在 dotnet core 中使用 System.Data.Linq.Binary?

epo*_*raz 4 .net c# porting

我想将一些 .net Framework 代码移植到 dotnet core。我不知道如何更改这部分,因为 System.Data.Linq.Binary 不是 dotnet core 的一部分?

public interface ICheckConcurrentUpdates : IId
{
    Binary RowVersion
    {
        get;
        set;
    }
}
Run Code Online (Sandbox Code Playgroud)

你们有什么想法吗?

epo*_*raz 5

我通过使用 byte[] 而不是 Binary 解决了这个问题。