Skip to content

Commit

Permalink
(DOCSP-41466): Create: Use third-party libraries for some C# operatio…
Browse files Browse the repository at this point in the history
…ns (#3343)

## Pull Request Info - SDK Docs Consolidation

Jira ticket: https://jira.mongodb.org/browse/DOCSP-41466

*Staged Page*

-
[Create](https://preview-mongodbdacharyc.gatsbyjs.io/realm/DOCSP-41466/sdk/crud/create/):
New C# API descriptions for "Create an unmanaged copy of an object" and
"Copy an object to another database" advising developers to use
third-party libraries for this functionality.
  • Loading branch information
dacharyc authored Jul 30, 2024
1 parent e7fa389 commit fc3abb9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
The SDK does not provide a C# API to directly copy an object to another
database instance. Instead, you can use a third-party library such as
`AutoMapper <https://automapper.org/>`__ to create unmanaged objects and
then copy them into another database instance.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The SDK does not provide a C# API to directly create an unmanaged copy of
an object. Instead, you can use a third-party library such as
`AutoMapper <https://automapper.org/>`__ to create unmanaged objects.
4 changes: 2 additions & 2 deletions source/sdk/crud/create.txt
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ currently implemented.
.. tab::
:tabid: csharp

.. include:: /includes/api-details/generic/crud/create-unmanaged-copy-not-supported.rst
.. include:: /includes/api-details/csharp/crud/create-unmanaged-copy-of-object-not-supported.rst

.. tab::
:tabid: dart
Expand Down Expand Up @@ -528,7 +528,7 @@ database instance.
.. tab::
:tabid: csharp

.. include:: /includes/api-details/generic/crud/create-copy-object-to-another-database-no-example.rst
.. include:: /includes/api-details/csharp/crud/create-copy-object-to-another-database-not-supported.rst

.. tab::
:tabid: dart
Expand Down

0 comments on commit fc3abb9

Please sign in to comment.