Home > Enterprise >  Why I have already added a .dll to unity, but still can't use it/
Why I have already added a .dll to unity, but still can't use it/

Time:04-28

I added System.Data.DataSetExtensions.dll to unity's plugins folder.

1 2

And I found it appear in the reference of 'assembly-csharp'.

3

But I still can't "using" it.

4 5

How do I use it?

Thanks.

CodePudding user response:

There is no namespace named System.Data.DataSetExtensions, the assembly contains extenion methods, you just need call them with data objects.

An example:

DataTable dt;
foreach(var row in dt.AsEnumerable())
    ....
  • Related