<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:15: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>[DOCS-16354] Realm .NET SDK docs typos/inconsistency reported by customer.</title>
                <link>https://jira.mongodb.org/browse/DOCS-16354</link>
                <project id="10380" key="DOCS">Documentation</project>
                    <description>&lt;p&gt;From a customer at Husqvarna who is trying out Realm and Atlas Device Sync, some document typos/inconsistency:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;This contains duplicated sections of text:&#160;&lt;a href=&quot;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/create/#create-a-realm-object&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/create/#create-a-realm-object&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;And here (more or less):&#160;&lt;a href=&quot;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/create/#upsert-a-realm-object&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/create/#upsert-a-realm-object&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;Small typo here &quot;...fom...&quot; should be &quot;...from...&quot;:&#160;&lt;a href=&quot;https://www.mongodb.com/docs/atlas/app-services/sync/data-model/update-schema/#remove-an-object-type&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/atlas/app-services/sync/data-model/update-schema/#remove-an-object-type&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;The example here specifies both a getter and a setter for the collection (List) but other parts state that we should&#160;&lt;b&gt;only&lt;/b&gt;&#160;use getters for collections, also it should probably be an&#160;&lt;tt&gt;IList&amp;lt;Task&amp;gt;&lt;/tt&gt;:&#160;&lt;a href=&quot;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/read/#read-from-realm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/read/#read-from-realm&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2429965">DOCS-16354</key>
            <summary>Realm .NET SDK docs typos/inconsistency reported by customer.</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="9">Done</resolution>
                                        <assignee username="caleb.thompson@mongodb.com">Caleb Thompson</assignee>
                                    <reporter username="mark.brown@mongodb.com">Mark Brown</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Aug 2023 12:36:16 +0000</created>
                <updated>Wed, 13 Sep 2023 16:02:56 +0000</updated>
                            <resolved>Wed, 13 Sep 2023 16:02:56 +0000</resolved>
                                                                    <component>Realm</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="5688293" author="caleb.thompson" created="Thu, 7 Sep 2023 21:33:07 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/docs-realm/pull/3004&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs-realm/pull/3004&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5688292" author="caleb.thompson" created="Thu, 7 Sep 2023 21:32:52 +0000"  >&lt;p&gt;Thanks again, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mark.brown%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;mark.brown@mongodb.com&quot;&gt;mark.brown@mongodb.com&lt;/a&gt;! Here&apos;s the PR: &lt;a href=&quot;https://github.com/mongodb/docs-realm/pull/3004&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/docs-realm/pull/3004&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5683497" author="JIRAUSER1269156" created="Wed, 6 Sep 2023 15:53:11 +0000"  >&lt;p&gt;Some more doc feedback; the examples on this page should probably use interfaced (e.g.&#160;&lt;tt&gt;IRealmObject&lt;/tt&gt;) instead of the older base classes:&lt;br/&gt;
&lt;a href=&quot;https://www.mongodb.com/docs/realm/sdk/dotnet/model-data/relationships/#relationships---.net-sdk&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm/sdk/dotnet/model-data/relationships/#relationships---.net-sdk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And the example for &quot;&lt;em&gt;See the following example for how to query a one-to-many relationship:&lt;/em&gt;&quot; on the same page does not provide a one-to-many query, it just shows a filter on a collection.&lt;/p&gt;

&lt;p&gt;I am nitpicking stuff but usually these things are only visible during an initial read-through so I take the chance to mention the things I find, do with it what you like.&lt;/p&gt;</comment>
                            <comment id="5683488" author="JIRAUSER1269156" created="Wed, 6 Sep 2023 15:52:03 +0000"  >&lt;p&gt;Another:&lt;br/&gt;
&lt;a href=&quot;https://www.mongodb.com/docs/realm/sdk/dotnet/model-data/relationships/#inverse-relationship&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm/sdk/dotnet/model-data/relationships/#inverse-relationship&lt;/a&gt;&lt;br/&gt;
In this example, note that: * The Task object&apos;s&#160;&lt;tt&gt;Assignee&lt;/tt&gt;&#160;property is a User object.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The User object&apos;s&#160;&lt;tt&gt;Tasks&lt;/tt&gt;&#160;property inverts the relationship and refers to all Task objects that contain this specific User in their&#160;&lt;tt&gt;Assignee&lt;/tt&gt;&#160;property.&lt;/li&gt;
	&lt;li&gt;This, then, allows us to query the Task collection to get all Tasks assigned to a specific User.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Should be (&lt;b&gt;Task&lt;/b&gt;&#160;-&amp;gt;&#160;&lt;b&gt;Item&lt;/b&gt;&#160;etc.):In this example, note that: * The Item object&apos;s&#160;&lt;tt&gt;Assignee&lt;/tt&gt;&#160;property is a User object.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;The User object&apos;s&#160;&lt;tt&gt;Items&lt;/tt&gt;&#160;property inverts the relationship and refers to all Item objects that contain this specific User in their&#160;&lt;tt&gt;Assignee&lt;/tt&gt;&#160;property.&lt;/li&gt;
	&lt;li&gt;This, then, allows us to query the Item collection to get all Items assigned to a specific User.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5683485" author="JIRAUSER1269156" created="Wed, 6 Sep 2023 15:51:27 +0000"  >&lt;p&gt;More customer comments:&lt;/p&gt;

&lt;p&gt;Small document improvement here:&lt;br/&gt;
&lt;a href=&quot;https://www.mongodb.com/docs/realm/sdk/dotnet/model-data/data-types/embedded-objects/#realm-object-models&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm/sdk/dotnet/model-data/data-types/embedded-objects/#realm-object-models&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&quot;To define an embedded object, derive a class from&#160;&lt;tt&gt;EmbeddedObject&lt;/tt&gt;. Use the syntax &quot;&lt;tt&gt;&amp;lt;YourClass&amp;gt; : EmbeddedObject {}{&lt;/tt&gt;}&quot; to accomplish this.&quot;&lt;/p&gt;

&lt;p&gt;Should probably be (use&#160;&lt;em&gt;interface&lt;/em&gt;&#160;instead of deprecated&#160;&lt;em&gt;base class&lt;/em&gt;):&lt;/p&gt;

&lt;p&gt;&quot;To define an embedded object, derive a class from&#160;&lt;tt&gt;IEmbeddedObject&lt;/tt&gt;. Use the syntax &quot;&lt;tt&gt;&amp;lt;YourClass&amp;gt; : IEmbeddedObject {}{&lt;/tt&gt;}&quot; to accomplish this.&quot;&lt;/p&gt;</comment>
                            <comment id="5668664" author="JIRAUSER1269156" created="Wed, 30 Aug 2023 14:02:06 +0000"  >&lt;p&gt;More Feedback:&lt;br/&gt;
&#160;&lt;br/&gt;
The documentation for&#160;&lt;em&gt;App creation/connection&lt;/em&gt;&#160;is a bit misleading, it shows setting&#160;{{LogLevel }}(even though it is commented out) that is, I assume, deprecated since a while back. It is not available in the SDK or in the detailed API documentation at least.&lt;br/&gt;
&lt;a href=&quot;https://www.mongodb.com/docs/realm/sdk/dotnet/app-services/connect-to-app-services-backend/#configuration&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm/sdk/dotnet/app-services/connect-to-app-services-backend/#configuration&lt;/a&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
Not available here either:&lt;br/&gt;
&lt;a href=&quot;https://www.mongodb.com/docs/realm-sdks/dotnet/latest/reference/Realms.Sync.AppConfiguration.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm-sdks/dotnet/latest/reference/Realms.Sync.AppConfiguration.html&lt;/a&gt;&lt;br/&gt;
&#160;&lt;br/&gt;
&#160;&lt;/p&gt;</comment>
                            <comment id="5668512" author="JIRAUSER1269156" created="Wed, 30 Aug 2023 13:28:28 +0000"  >&lt;p&gt;And some kudos as well! &amp;#8211;&lt;/p&gt;

&lt;p&gt;I really like the documentation though! And the .NET SDK. It is evident a lot of effort has been put into this - making complex tech and concepts appear fairly simple is not easy&#160;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://a.slack-edge.com/production-standard-emoji-assets/14.0/apple-medium/2764-fe0f@2x.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="5668510" author="JIRAUSER1269156" created="Wed, 30 Aug 2023 13:27:11 +0000"  >&lt;p&gt;More:&lt;/p&gt;

&lt;p&gt;The same goes for the snippet here:&lt;br/&gt;
&lt;a href=&quot;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/write-transactions/#check-the-status-of-a-transaction&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/write-transactions/#check-the-status-of-a-transaction&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5668507" author="JIRAUSER1269156" created="Wed, 30 Aug 2023 13:26:17 +0000"  >&lt;p&gt;And further customer comments:&lt;br/&gt;
Also - that original code snippet does&#160;&lt;b&gt;not&lt;/b&gt;&#160;explicitly dispose the transaction in case the write goes successfully, possibly leading to some form of resource leak, it only dispose of it in the&#160;{{catch }}statement. I may be completely off here of course.&lt;br/&gt;
Proposal:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// Open a thread-safe transaction.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;using var transaction = realm.BeginWrite();&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// At this point, the TransactionState is &quot;Running&quot;:&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// transaction.State == TransactionState.Running&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;try&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// Perform a write op...&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;realm.Add(myDog);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// Do other work that needs to be included in&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// this transaction&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; (transaction.State == TransactionState.Running)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{ transaction.Commit(); }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;catch&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; (Exception ex)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Console.WriteLine(ex.Message);&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #008200; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;// Something went wrong; roll back the transaction&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: #006699; font-weight: bold; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; (transaction.State != TransactionState.RolledBack &amp;amp;&amp;amp;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;transaction.State != TransactionState.Committed)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;{ transaction.Rollback(); }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="5668505" author="JIRAUSER1269156" created="Wed, 30 Aug 2023 13:25:37 +0000"  >&lt;p&gt;Further customer comments:&lt;/p&gt;

&lt;p&gt;Another possible improvement for .NET docs, I think the docs regarding (explicit) transactions here could benefit from adding a&#160;&lt;tt&gt;using }}statement to&#160;{{realm.BeginWrite();&lt;/tt&gt;&#160;in order to not risking it not being disposed (in case of some untimely exception) and to not have to explicitly call&#160;&lt;tt&gt;transaction.Dispose()&lt;/tt&gt;&#160;in the&#160;{{catch }}statement (in the original code).&lt;br/&gt;
&lt;a href=&quot;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/write-transactions/#initiate-a-transaction&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.mongodb.com/docs/realm/sdk/dotnet/crud/write-transactions/#initiate-a-transaction&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14258" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                        <customfieldname>Baseline start date</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 6 Sep 2023 00:00:00 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 7 Sep 2023 21:32:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        21 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>caleb.thompson@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            21 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>caleb.thompson@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.brown@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2og0n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i26g3s:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2o25z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                </customfields>
    </item>
</channel>
</rss>