[英]Unity, How to use AsEnumerable
I need to use AsEnumerable()
on a DataTable
in Unity, but it seems the Unity version of System.Data
doesn't have that method!我需要在 Unity 中的
DataTable
上使用AsEnumerable()
,但似乎 Unity 版本的System.Data
没有该方法!
I tried to import the VS version of dll into the asset, but it told me that Multiple assemblies with equivalent identity have been imported
.我试图将 dll 的 VS 版本导入到资产中,但它告诉我
Multiple assemblies with equivalent identity have been imported
。
Could somebody please be so kind and teach me what should I do??有人可以请这么好心,教我该怎么做吗?
Much appreciated!非常感激!
The method AsEnumerable()
is an extension fo the class Datatable
, you need to add the System.Data.DataSetExtensions.dll
into your assets. AsEnumerable()
方法是Datatable
的扩展,您需要将System.Data.DataSetExtensions.dll
添加到您的资产中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.