From d1bf9fd13812793c901faa5465ff7bd277c4dbf3 Mon Sep 17 00:00:00 2001 From: MongoCaleb <32645888+MongoCaleb@users.noreply.github.com> Date: Wed, 31 Jul 2024 11:41:09 -0700 Subject: [PATCH] fix DOTNET version number (#3347) 12.22.0 was supposed to be 12.2.0 ## Pull Request Info Jira ticket: DOCSP-41878 *Staged Page* - [Define an Object Model](https://preview-mongodbmongocaleb.gatsbyjs.io/realm/DOCSP-41878/sdk/dotnet/model-data/define-object-model/) - [Value Type](https://preview-mongodbmongocaleb.gatsbyjs.io/realm/DOCSP-41878/sdk/dotnet/model-data/data-types/realm-value/) --- source/sdk/dotnet/model-data/data-types/realm-value.txt | 2 +- source/sdk/dotnet/model-data/define-object-model.txt | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/source/sdk/dotnet/model-data/data-types/realm-value.txt b/source/sdk/dotnet/model-data/data-types/realm-value.txt index 8d643445e0..088f47502e 100644 --- a/source/sdk/dotnet/model-data/data-types/realm-value.txt +++ b/source/sdk/dotnet/model-data/data-types/realm-value.txt @@ -42,7 +42,7 @@ that property: Collections as Mixed -------------------- -In version 12.22.0 and later, a ``RealmValue`` data type can hold collections +In version 12.2.0 and later, a ``RealmValue`` data type can hold collections (a list or dictionary, but *not* a set) of ``RealmValue`` elements. You can use mixed collections to model unstructured or variable data. For more information, refer to :ref:``. diff --git a/source/sdk/dotnet/model-data/define-object-model.txt b/source/sdk/dotnet/model-data/define-object-model.txt index f1ea0eb1f8..8d77381e8a 100644 --- a/source/sdk/dotnet/model-data/define-object-model.txt +++ b/source/sdk/dotnet/model-data/define-object-model.txt @@ -264,9 +264,10 @@ but the public ``Email`` property, which provides validation, is not persisted: Define Unstructured Data ----------------------- -.. versionadded:: 12.22.0 +.. versionadded:: 12.2.0 -Starting in SDK version 12.22.0, you can store :ref:`collections of mixed data ` +Starting in SDK version 12.2.0, you can store +:ref:`collections of mixed data ` within a ``RealmValue`` property. You can use this feature to model complex data structures, such as JSON or MongoDB documents, without having to define a strict data model.