<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:43:00 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CSHARP-2596] AsQueryable with session (usable during transaction)</title>
                <link>https://jira.mongodb.org/browse/CSHARP-2596</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;While writing my own application tests, I just noticed the&#160;IMongoCollectionExtensions.AsQueryable extension method lacks session support unlike all other extension methods.&lt;/p&gt;

&lt;p&gt;This means you can&apos;t use linq queries to access data modified within a transaction.&lt;/p&gt;

&lt;p&gt;The fix is quite simple and I created this issue for the pull request.&lt;/p&gt;</description>
                <environment></environment>
        <key id="741809">CSHARP-2596</key>
            <summary>AsQueryable with session (usable during transaction)</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="robert@mongodb.com">Robert Stam</assignee>
                                    <reporter username="origindotnet">Origin .NET</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Apr 2019 15:20:10 +0000</created>
                <updated>Sat, 28 Oct 2023 11:48:45 +0000</updated>
                            <resolved>Tue, 28 Apr 2020 23:37:11 +0000</resolved>
                                    <version>2.11.0</version>
                                    <fixVersion>2.11.0</fixVersion>
                                    <component>Linq</component>
                    <component>Session Management</component>
                    <component>Transactions</component>
                                        <votes>3</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="3201311" author="xgen-internal-githook" created="Tue, 9 Jun 2020 21:58:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;, &apos;username&apos;: &apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2596&quot; title=&quot;AsQueryable with session (usable during transaction)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2596&quot;&gt;&lt;del&gt;CSHARP-2596&lt;/del&gt;&lt;/a&gt;: Fix test.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/329beaa1b37f873c359de403c94c33716f4ef231&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/329beaa1b37f873c359de403c94c33716f4ef231&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3192814" author="xgen-internal-githook" created="Fri, 5 Jun 2020 17:24:02 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;rstam&apos;, &apos;email&apos;: &apos;robert@robertstam.org&apos;, &apos;username&apos;: &apos;rstam&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2596&quot; title=&quot;AsQueryable with session (usable during transaction)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2596&quot;&gt;&lt;del&gt;CSHARP-2596&lt;/del&gt;&lt;/a&gt;: Refactoring and more tests.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/b9b4d66003bf49a364117b395b3f710b3f4c83d4&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/b9b4d66003bf49a364117b395b3f710b3f4c83d4&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3192813" author="xgen-internal-githook" created="Fri, 5 Jun 2020 17:24:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Origin .NET&apos;, &apos;email&apos;: &apos;origindotnet@gmail.com&apos;, &apos;username&apos;: &apos;origindotnet&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-2596&quot; title=&quot;AsQueryable with session (usable during transaction)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-2596&quot;&gt;&lt;del&gt;CSHARP-2596&lt;/del&gt;&lt;/a&gt;: AsQueryable with session (usable during transaction)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-csharp-driver/commit/97434a2a0dea05ac78b92e16ac6ca90a51859e93&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-csharp-driver/commit/97434a2a0dea05ac78b92e16ac6ca90a51859e93&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2536063" author="rogerformagiolopes@hotmail.com" created="Tue, 12 Nov 2019 12:33:26 +0000"  >&lt;p&gt;I am currently in need for this feature too. Don&apos;t know how to bypass it without this new implementations. Please approve it &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="2284773" author="shachafn" created="Fri, 14 Jun 2019 12:46:32 +0000"  >&lt;p&gt;I highly recommend implementing this.&#160;&lt;br/&gt;
I am currently in need for this feature. What is the workaround for using Linq inside a session? Is Fetching all the data and querying it the only way?&lt;/p&gt;</comment>
                            <comment id="2222884" author="origindotnet" created="Wed, 24 Apr 2019 07:07:06 +0000"  >&lt;p&gt;I added the test class MongoQueryableSessionTests to the pull request with all the Linq tests duplicated in order to check if it works during a transaction (inside and outside transaction).&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs0t73:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>