I am using the library Microsoft.Azure.CosmosDB.BulkExecutor with version 2.4.1-preview in one of my project. The documentation explains a property named FailedImports here https://learn.microsoft.com/en-in/dotnet/api/microsoft.azure.cosmosdb.bulkexecutor.bulkimport.bulkimportresponse?view=azure-dotnet
But I am not getting this property as part of library.
This library was deprecated in November last year. Please use the latest Cosmos DB SDK which includes Bulk Support. You can read more details and some examples in our Bulk support blog post
You can also find more samples in our .NET SDK repo bulk samples
Thanks.
Related
I am trying to learn SQLite and its usage from Xamarin.Forms. I found that it is recommended to install Sqlite-net-pcl as NuGet package and make use of it to create, open, modify a database. Up to that point everything is fine. However, I am struggling to find more details about Sqlite-net-pcl on the web. It seems, a comprehensive documentation is not available for this library. And this reality brought some questions to my mind which I believe I could get answer from Stackoverflow seniors:
1-If there is no documentation of a library which you are trying to use, what is the best way to learn it quickly? Trial&Error? In that case full class hierarchy would be needed, I think.
2-As I understood, Sqlite-net-pcl is a partial implementation of Sqlite. For instance, in the documentation of Sqlite, it is said, Foreign key is supported but should be enabled. But, I couldnt find this attribute in Sqlite-net-Pcl when I used the ObjectBrowser tool of VisualStudio.
3-Considering, SQLite have better support, If I want to use SQLite directly in xamarin.forms(c#) instead of its derived versions(Sqlite-net-pcl) how can I achieve this?
It is preferable to use SQLite-net libraries. They are simply a wrapper around SQLite flow. You have everything that you need there. Also, if you want to use an ORM, you can also use EntityFrameworkCore via Microsoft.EntityFrameworkCore.Sqlite
Like it is said in the GitHub repository:
SQLite-net is an open source, minimal library to allow .NET, .NET Core, and Mono applications to store data in SQLite 3 databases. It was first designed to work with Xamarin.iOS, but has since grown up to work on all the platforms (Xamarin.*, .NET, UWP, Azure, etc.).
About the Foreign Key - there isn't any constraints. You can use it freely without any "enabling".
There are some other options like Microsoft.Data.SQLite & System.Data.SQLite, but I haven't tried them with Xamarin and, if they work, I don't think that they will have better support for Mono, like the one that you have with SQLite-net. The latter is also updated constantly.
Here is the official tutorial from Microsoft about using sqlite-net-pcl
If you want to use an ORM, you can follow this article from the official docs on how to setup the SQLite libraries, together with EFCore packages, migrations, etc.
Should you choose to use EFCore, please consider the Migration Limitations.
I need to manage (SELECT, INSERT, UPDATE, etc.) a simple SQLite database through Dart code, but all the SQLite connector libraries I could find are very outdated. I've searched for a solution and haven't seen anything compatible with Dart 2. Can anyone think of an alternative way to do this?
Note: The application and database will eventually be migrated server-side
with Azure.
Note: I am fairly new to working with SQL and RDBMS.
Thanks!
The sqlite package should provide what your need. It is pretty up-to-date including null-safety and recently updated.
We are using crnk JSON API implementation on the server side (Java). I see the crnk documentation here http://www.crnk.io/documentation/. But, I am not able to find the corresponding Java API Reference documentation. Not sure if there is on available ?
no, so far it is not available. but could be added as PR. release automation is currently in progress and the asciidoc documentation already gets automatically published. Adding JavaDoc next to it would be a minor effort.
As far as I can tell, this project http://knowledge.openwide.fr/Main/AlfrescoETLConnector
only supports Alfresco 3.3 and under. Are there any Talend connectors for Alfresco 4.0? We have so much development work in 4.0 that we don't even want to think of rolling back to 3.3, and would like to use an ETL like Talend to load batches of files into Alfresco.
Are there other ETL tools we should consider that have Alfresco 4.0 connectors? Can we use any Talend / CMIS compliant connector? Suggestions on products to look at? Thanks.
This is Ronny from XeniT.
If you want to load documents and meta-data, you might consider
http://www.xenit.eu/move2alf/
You can integrate this with Talend, but it allows easy and fast migration of content into Alfresco.
On the Talend Exchange you can find various extensions e.g. custom components, which you can install in your TOS.
The exchange provides a CMIS input component that is able to access CMIS-compliant content repositories (like Alfresco) via CMIS SQL.
I also worked on an output component (tCmisOutput), which can create/update content. But this component has not been published yet. Since you are looking for way to load files into Alfresco, I will publish it in the next days on Talend Exchange or send the source code if you contact me via email.
I've recently published new Advanced CMIS components for Talend (in alpha version).
You can download it on Talend Exchange
Source code and documentation are available on Github
cmistalendetlalfresconuxeo
The latest version of the Talend CMIS component developed by Ekito is on GitHub
https://github.com/Ekito/talend-cmis-components
However it will not work with Talend version 6 right out of the box. I've created a blog post describing the fix you need to apply to the component here:
http://www.datalytyx.com/fixing-the-cmis-component-issue-in-talend-6-gated/
Since last year, the Alfresco ETL Connector for Talend has been updated to support Alfresco 4.1, as said in the README :
https://github.com/OpenWide-SI/alfresco-etl-connector
Regards
SDL Tridion's TOM.NET API replaced the deprecated TOM (Tridion Object Model) starting in, I believe, version R5.3.
Aside from asking Stack Overflow (Exchange) questions, which documentation should we refer to when working with and learning the TOM.NET API?
So far, I've found (logins required):
SDL Live Content
TridionWorld Download (select latest version, currently 2011 SP1 to download the "SDL Tridion 2011 SP1 TOM.NET API" chm)
I see these (plus questions on the forum), but can't tell which is better. What do you use most when working with TOM.NET?
Good Question and Probably most of the Tridion new developers might be wondering the same when to to use which. I would say both the documents has a different purpose and go side-by-side. API Documentation does provide information on methods and usage, SDL Live Content docs provide information is more of understanding what to use for your scenario. We do get these kind of questions when we are on boarding any new developer "Which document provides me the most information".
I refer to these simple examples to explain the differences on when to use which documentation.
what variables are available in package (vs) What API method to use when reading variables from package ?
Referring Live Docs for the first and API doc for second
How do I loop through the embedded fields (vs) what method I use to loop through embedded value fields ?
Referring Live Docs for the first and API doc for second.
I see this question with different variation keep popping up almost every month.
I know I used simple use cases, but sometimes keeping it simple is better.
Hope this information helps.
Also according to this page in the documentation the TOM.NET API should be only used in Templating and Event Handlers. For third party applications you should use the Core Service API.
I use the API documentation, and when I really want to know more use Reflector. But that's not really advisable(?).