ContainerBuilder Constructors

Definition

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