<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic If you are using the LINQ… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63376#M16326</link>
    <description>If you are using the LINQ query, then you should be refer below dll's and import the namespace:
:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Xml.Linq.dll
:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Core.dll
:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Data.DataSetExtensions.dll
Namespace: System.Linq</description>
    <pubDate>Wed, 21 Nov 2018 13:23:00 GMT</pubDate>
    <dc:creator>VijayDodamani</dc:creator>
    <dc:date>2018-11-21T13:23:00Z</dc:date>
    <item>
      <title>Using AsEnumerable() in Code Stage</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63371#M16321</link>
      <description>Hello,

&amp;nbsp;

I€™m building my own code stage and I would like to use AsEnumerable method on DataTable, something like below:

Dim CustomerOrders = DtWithRecords.AsEnumerable().Select(Function(row) row.Field(Of Decimal)("ORDERNO")).Distinct()

&amp;nbsp;

Unfortunately, I'm receiving an error:

Public member "AsEnumerable" on type "DataTable" not found.

&amp;nbsp;

I referenced System.Data.DataSetExtensions.dll on Initialise Page.

&amp;nbsp;

What I'm doing wrongly here?</description>
      <pubDate>Tue, 13 Nov 2018 13:52:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63371#M16321</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-13T13:52:00Z</dc:date>
    </item>
    <item>
      <title>Try adding namespace too</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63372#M16322</link>
      <description>Try adding namespace too</description>
      <pubDate>Tue, 13 Nov 2018 15:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63372#M16322</guid>
      <dc:creator>AndreyKudinov</dc:creator>
      <dc:date>2018-11-13T15:49:00Z</dc:date>
    </item>
    <item>
      <title>Tried it before,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63373#M16323</link>
      <description>Tried it before, unfortunately didn't solve the problem.</description>
      <pubDate>Tue, 13 Nov 2018 18:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63373#M16323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-13T18:18:00Z</dc:date>
    </item>
    <item>
      <title>It's telling you that…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63374#M16324</link>
      <description>It's telling you that whatever class the&amp;nbsp;DtWithRecords object is does not have a&amp;nbsp;AsEnumerable method</description>
      <pubDate>Wed, 14 Nov 2018 20:18:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63374#M16324</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2018-11-14T20:18:00Z</dc:date>
    </item>
    <item>
      <title>I know what is telling…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63375#M16325</link>
      <description>I know what is telling. Problem is that it shouldn't be a problem as I'm using&amp;nbsp;System.Data.DataSetExtensions.dll on Initialise Page, which should be enough to use AsEnumerable on DataTable (and DtWithRecords is a Data Table).</description>
      <pubDate>Fri, 16 Nov 2018 18:28:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63375#M16325</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-16T18:28:00Z</dc:date>
    </item>
    <item>
      <title>If you are using the LINQ…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63376#M16326</link>
      <description>If you are using the LINQ query, then you should be refer below dll's and import the namespace:
:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Xml.Linq.dll
:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Core.dll
:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Data.DataSetExtensions.dll
Namespace: System.Linq</description>
      <pubDate>Wed, 21 Nov 2018 13:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Using-AsEnumerable-in-Code-Stage/m-p/63376#M16326</guid>
      <dc:creator>VijayDodamani</dc:creator>
      <dc:date>2018-11-21T13:23:00Z</dc:date>
    </item>
  </channel>
</rss>

