Udostępnij za pośrednictwem


EntityFrameworkCoreCosmosSettings Class

Definition

The settings relevant to accessing Azure Cosmos DB database using EntityFrameworkCore.

public sealed class EntityFrameworkCoreCosmosSettings
type EntityFrameworkCoreCosmosSettings = class
Public NotInheritable Class EntityFrameworkCoreCosmosSettings
Inheritance
EntityFrameworkCoreCosmosSettings

Constructors

EntityFrameworkCoreCosmosSettings()

Properties

AccountEndpoint

A Uri referencing the Azure Cosmos DB Endpoint. This is likely to be similar to "https://{account_name}.queue.core.windows.net".

ConnectionString

The connection string of the Azure Cosmos DB server database to connect to.

Credential

Gets or sets the credential used to authenticate to the Azure Cosmos DB endpoint.

DisableTracing

Gets or sets a boolean value that indicates whether the OpenTelemetry tracing is disabled or not.

Region

Gets or sets a string value that indicates what Azure region this client will run in.

RequestTimeout

Gets or sets the time to wait for the response to come back from the network peer.

Applies to