Share via


CosmosDbContextOptionsBuilder(DbContextOptionsBuilder) Constructor

Definition

Initializes a new instance of the CosmosDbContextOptionsBuilder class.

public CosmosDbContextOptionsBuilder (Microsoft.EntityFrameworkCore.DbContextOptionsBuilder optionsBuilder);
new Microsoft.EntityFrameworkCore.Infrastructure.CosmosDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.DbContextOptionsBuilder -> Microsoft.EntityFrameworkCore.Infrastructure.CosmosDbContextOptionsBuilder
Public Sub New (optionsBuilder As DbContextOptionsBuilder)

Parameters

optionsBuilder
DbContextOptionsBuilder

The options builder.

Remarks

See Using DbContextOptions, and Accessing Azure Cosmos DB with EF Core for more information and examples.

Applies to