Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(DOCSP-41466): Create: Use third-party libraries for some C# operations #3343

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this include used in more than 1 file? Just checking...

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed on Slack, but just noting here - this include file is only used on the Create page, but this is the new structure for the consolidated SDK docs. The API details are all includes used in a tab set instead of content directly on the page.

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
Loading