<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:37:58 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-833] Naming Collections</title>
                <link>https://jira.mongodb.org/browse/CSHARP-833</link>
                <project id="10041" key="CSHARP">C# Driver</project>
                    <description>&lt;p&gt;It would be useful to have a mechanism for naming of the collection from RegisterClassMap.&lt;/p&gt;

&lt;p&gt;So we could do this for example:&lt;br/&gt;
            BsonClassMap.RegisterClassMap&amp;lt;Car&amp;gt;(cm =&amp;gt;&lt;br/&gt;
            &lt;/p&gt;
{
            cm.AutoMap();
            cm.CollectionName(&quot;cars&quot;)
            }
&lt;p&gt;);;&lt;/p&gt;</description>
                <environment></environment>
        <key id="92023">CSHARP-833</key>
            <summary>Naming Collections</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ammd2013">ali khan</reporter>
                        <labels>
                            <label>feature</label>
                    </labels>
                <created>Mon, 30 Sep 2013 10:53:50 +0000</created>
                <updated>Mon, 30 Sep 2013 14:47:00 +0000</updated>
                            <resolved>Mon, 30 Sep 2013 11:36:09 +0000</resolved>
                                                                    <component>Feature Request</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="433109" author="ammd2013" created="Mon, 30 Sep 2013 14:47:00 +0000"  >&lt;p&gt;Ah, I did search before putting this on here, but did not see that thread.  Currently I am using the extension method approach.&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;</comment>
                            <comment id="433022" author="craiggwilson" created="Mon, 30 Sep 2013 11:36:09 +0000"  >&lt;p&gt;Hi Ali,&lt;br/&gt;
  This is duplicate of &lt;a href=&quot;https://jira.mongodb.org/browse/CSHARP-126&quot; title=&quot;New GetCollection&amp;lt;T&amp;gt;() signature that uses a default collection name based on the Type of collection (NORM migration suggestion)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CSHARP-126&quot;&gt;&lt;del&gt;CSHARP-126&lt;/del&gt;&lt;/a&gt;.  Currently, the Bson layer doesn&apos;t know anything about databases or collections; it is just a Bson layer which can be used outside of MongoDB.  As such, adding something like this in wouldn&apos;t be good.  We have explored other ways of doing this and this is being kept in mind as something many users have requested as we work on our next major version.&lt;br/&gt;
  In the meantime, it is relatively trivial to write an extension method to do this.  If you need help with an extension method, please pose back.&lt;/p&gt;

&lt;p&gt;Thanks for your interest.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="13862">CSHARP-126</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <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|hrt727:</customfieldvalue>

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