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

Viewed 51

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.

1 Answers

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

An example:

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