-
Notifications
You must be signed in to change notification settings - Fork 4.6k
.Net: docs: rebrand Azure Cosmos DB for MongoDB vCore -> Azure DocumentDB #13968
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -12,7 +12,7 @@ | |||||||||
| namespace Microsoft.Extensions.DependencyInjection; | ||||||||||
|
|
||||||||||
| /// <summary> | ||||||||||
| /// Extension methods to register Azure CosmosDB MongoDB <see cref="VectorStore"/> instances on an <see cref="IServiceCollection"/>. | ||||||||||
| /// Extension methods to register Azure DocumentDB (with MongoDB compatibility) <see cref="VectorStore"/> instances on an <see cref="IServiceCollection"/>. | ||||||||||
| /// </summary> | ||||||||||
| public static class CosmosMongoServiceCollectionExtensions | ||||||||||
| { | ||||||||||
|
|
@@ -86,8 +86,8 @@ public static IServiceCollection AddCosmosMongoVectorStore( | |||||||||
| /// </summary> | ||||||||||
| /// <param name="services">The <see cref="IServiceCollection"/> to register the <see cref="CosmosMongoVectorStore"/> on.</param> | ||||||||||
| /// <param name="serviceKey">The key with which to associate the vector store.</param> | ||||||||||
| /// <param name="connectionString">Connection string required to connect to Azure CosmosDB MongoDB.</param> | ||||||||||
| /// <param name="databaseName">Database name for Azure CosmosDB MongoDB.</param> | ||||||||||
| /// <param name="connectionString">Connection string required to connect to Azure DocumentDB.</param> | ||||||||||
| /// <param name="databaseName">Database name for Azure DocumentDB.</param> | ||||||||||
|
Comment on lines
+89
to
+90
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These contract docs now imply that any Azure DocumentDB endpoint is valid input, but this overload still creates a
Suggested change
|
||||||||||
| /// <param name="options">Optional options to further configure the <see cref="CosmosMongoVectorStore"/>.</param> | ||||||||||
| /// <param name="lifetime">The service lifetime for the store. Defaults to <see cref="ServiceLifetime.Singleton"/>.</param> | ||||||||||
| /// <returns>Service collection.</returns> | ||||||||||
|
|
@@ -197,8 +197,8 @@ public static IServiceCollection AddCosmosMongoCollection<TRecord>( | |||||||||
| /// <param name="services">The <see cref="IServiceCollection"/> to register the <see cref="CosmosMongoCollection{TKey, TRecord}"/> on.</param> | ||||||||||
| /// <param name="serviceKey">The key with which to associate the collection.</param> | ||||||||||
| /// <param name="name">The name of the collection.</param> | ||||||||||
| /// <param name="connectionString">Connection string required to connect to Azure CosmosDB MongoDB.</param> | ||||||||||
| /// <param name="databaseName">Database name for Azure CosmosDB MongoDB.</param> | ||||||||||
| /// <param name="connectionString">Connection string required to connect to Azure DocumentDB.</param> | ||||||||||
| /// <param name="databaseName">Database name for Azure DocumentDB.</param> | ||||||||||
| /// <param name="options">Optional options to further configure the <see cref="CosmosMongoCollection{TKey, TRecord}"/>.</param> | ||||||||||
| /// <param name="lifetime">The service lifetime for the store. Defaults to <see cref="ServiceLifetime.Singleton"/>.</param> | ||||||||||
| /// <returns>Service collection.</returns> | ||||||||||
|
|
||||||||||
Uh oh!
There was an error while loading. Please reload this page.