<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:40:12 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-1631] Mongodb c# driver update - implemantation differences</title>
                <link>https://jira.mongodb.org/browse/CSHARP-1631</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;Hi I want to upgrade my c# driver to 2.2.3 ,previous driver I use MongoCollection class and this class have RemoveAll,WriteConcernResult,FindAsAll etc... features.To use async methods I change IMongoCollection and that time implementations change.Which class should I use?What is difference between abstract class MongoCollection and interface IMongoCollection.Should I select one, will MongoCollection be obsolete next releases?Or Should I use both&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</description>
                <environment></environment>
        <key id="280692">CSHARP-1631</key>
            <summary>Mongodb c# driver update - implemantation differences</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="biyildiz">Bilgehan</reporter>
                        <labels>
                            <label>question</label>
                    </labels>
                <created>Tue, 19 Apr 2016 08:42:05 +0000</created>
                <updated>Fri, 5 Apr 2019 13:58:52 +0000</updated>
                            <resolved>Tue, 19 Apr 2016 16:55:11 +0000</resolved>
                                    <version>2.2.3</version>
                                                    <component>Linq</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1240045" author="craiggwilson" created="Tue, 19 Apr 2016 14:52:10 +0000"  >&lt;p&gt;We do not have that documentation. I think you&apos;ll find it&apos;s a fairly self-documenting API. For instance, to do a FindOneById, simply do a Find where you do an equality match on the identifier.  &lt;a href=&quot;http://mongodb.github.io/mongo-csharp-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Our documentation &lt;/a&gt; will walk you through the new API if you have any issues figuring out how to do something.&lt;/p&gt;

&lt;p&gt;Craig&lt;/p&gt;</comment>
                            <comment id="1240037" author="biyildiz" created="Tue, 19 Apr 2016 14:48:49 +0000"  >&lt;p&gt;Hi Craig,&lt;/p&gt;

&lt;p&gt;Do you have any documentation or sample project about that topic&lt;/p&gt;

&lt;p&gt;for example MongoCollection.FindOneByIdAs old way,it is equivalent in IMongoCollection ...&lt;/p&gt;

&lt;p&gt;Old api(MongoCollection) and what is its equvalient in new api(IMongoCollection)&lt;/p&gt;

&lt;p&gt;Regards&lt;/p&gt;</comment>
                            <comment id="1240003" author="craiggwilson" created="Tue, 19 Apr 2016 14:31:19 +0000"  >&lt;p&gt;Hi Bilgehan,&lt;/p&gt;

&lt;p&gt;We introduced a completely new API in version 2.0. We have maintained the legacy API (1.x) to make it easy for users to move to 2.x and not need to port their entire applications all at once. This legacy API will be maintained for the duration of the 2.x version. However, we will likely not maintain it in future major versions.&lt;/p&gt;

&lt;p&gt;IMongoCollection is part of the new API and has both async and sync methods. MongoCollection is part of the legacy API and only support sync operations. You may use both at the same time if you wish. If you are needing to make choice, I would prefer the new API. It is cleaner and will be fully supported in the future.&lt;/p&gt;

&lt;p&gt;Let me know if you have further questions,&lt;br/&gt;
Craig&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <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|hskk4n:</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>