简体   繁体   English

在 do.net 核心中使用 System.Data.Linq.Binary?

[英]using System.Data.Linq.Binary in dotnet core?

I want to port some .net Framework code to do.net core.我想将一些 .net 框架代码移植到 do.net 核心。 I don't know how to change this part, since System.Data.Linq.Binary is not part of do.net core?我不知道如何更改这部分,因为 System.Data.Linq.Binary 不是 do.net 核心的一部分?

public interface ICheckConcurrentUpdates : IId
{
    Binary RowVersion
    {
        get;
        set;
    }
}

do you guys have any idea?你们有什么想法吗?

I solved it by using byte [] instead of Binary.我通过使用 byte [] 而不是 Binary 来解决它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 .NET Core中的等效System.Data.Linq.Binary - Equivalent System.Data.Linq.Binary in .net core LINQ,聚合操作不支持“System.Data.Linq.Binary”类型 - The type 'System.Data.Linq.Binary' is not supported in aggregation operations - LINQ 将System.Drawing.Image转换为System.Data.Linq.Binary - Converting System.Drawing.Image to System.Data.Linq.Binary 如何将'byte []'类型转换为'System.Data.Linq.Binary' - How to convert type 'byte[]' to 'System.Data.Linq.Binary' 类型“ System.Data.Linq.Binary”在未引用的程序集中定义 - Type 'System.Data.Linq.Binary' is defined in an assembly that is not referenced 如何将内存流转换为System.Data.Linq.Binary? - How to convert Memory Stream to System.Data.Linq.Binary? 如何在C#中将System.Data.Linq.Binary分配为null? - How to assign System.Data.Linq.Binary to null in C#? 无法从“ System.DateTime”转换为“ System.Data.Linq.Binary”错误 - Cannot convert from 'System.DateTime' to 'System.Data.Linq.Binary' error 将SQL Server ROWVERSION放入System.Data.Linq.Binary属性时,出现System.InvalidCastException - System.InvalidCastException when getting SQL Server ROWVERSION into System.Data.Linq.Binary property 无法在LINQ中将类型'string'隐式转换为'System.Data.Linq.Binary - Cannot implicitly convert type 'string' to 'System.Data.Linq.Binary in LINQ to SQL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM