ContainerBuilder Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ContainerBuilder() |
Creates an instance for unit-testing |
ContainerBuilder(Database, String, String) |
Creates an instance of ContainerBuilder . |
ContainerBuilder()
- Source:
- ContainerBuilder.cs
Creates an instance for unit-testing
protected ContainerBuilder ();
Protected Sub New ()
Applies to
ContainerBuilder(Database, String, String)
- Source:
- ContainerBuilder.cs
Creates an instance of ContainerBuilder .
public ContainerBuilder (Microsoft.Azure.Cosmos.Database database, string name, string partitionKeyPath);
new Microsoft.Azure.Cosmos.Fluent.ContainerBuilder : Microsoft.Azure.Cosmos.Database * string * string -> Microsoft.Azure.Cosmos.Fluent.ContainerBuilder
Public Sub New (database As Database, name As String, partitionKeyPath As String)
Parameters
- database
- Database
The Microsoft.Azure.Cosmos.Database object.
- name
- String
Azure Cosmos container name to create.
- partitionKeyPath
- String
The path to the partition key. Example: /partitionKey
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET