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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.