CosmosEntityTypeBuilderExtensions.HasManualThroughput Method
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
HasManualThroughput(EntityTypeBuilder, Nullable<Int32>) |
Configures the manual provisioned throughput offering. |
HasManualThroughput<TEntity>(EntityTypeBuilder<TEntity>, Nullable<Int32>) |
Configures the manual provisioned throughput offering. |
HasManualThroughput(EntityTypeBuilder, Nullable<Int32>)
Configures the manual provisioned throughput offering.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder HasManualThroughput (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder entityTypeBuilder, int? throughput);
static member HasManualThroughput : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder
<Extension()>
Public Function HasManualThroughput (entityTypeBuilder As EntityTypeBuilder, throughput As Nullable(Of Integer)) As EntityTypeBuilder
Parameters
- entityTypeBuilder
- EntityTypeBuilder
The builder for the entity type being configured.
Returns
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Applies to
HasManualThroughput<TEntity>(EntityTypeBuilder<TEntity>, Nullable<Int32>)
Configures the manual provisioned throughput offering.
public static Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> HasManualThroughput<TEntity> (this Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity> entityTypeBuilder, int? throughput) where TEntity : class;
static member HasManualThroughput : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> * Nullable<int> -> Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<'Entity (requires 'Entity : null)> (requires 'Entity : null)
<Extension()>
Public Function HasManualThroughput(Of TEntity As Class) (entityTypeBuilder As EntityTypeBuilder(Of TEntity), throughput As Nullable(Of Integer)) As EntityTypeBuilder(Of TEntity)
Type Parameters
- TEntity
Parameters
- entityTypeBuilder
- EntityTypeBuilder<TEntity>
The builder for the entity type being configured.
Returns
Remarks
See Modeling entity types and relationships, and Accessing Azure Cosmos DB with EF Core for more information and examples.
Applies to
Entity Framework