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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET