OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> Class

Definition

Instances of this class are returned from methods when using the ModelBuilder API and it is not designed to be directly constructed in your application code.

public class OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>> where TOwnerEntity : class where TDependentEntity : class
type OwnedNavigationTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> = class
    inherit OwnedNavigationTableBuilder
    interface IInfrastructure<OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity>>
Public Class OwnedNavigationTableBuilder(Of TOwnerEntity, TDependentEntity)
Inherits OwnedNavigationTableBuilder
Implements IInfrastructure(Of OwnedNavigationBuilder(Of TOwnerEntity, TDependentEntity))

Type Parameters

TOwnerEntity

The entity type owning the relationship.

TDependentEntity

The dependent entity type of the relationship.

Inheritance
OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>
Implements
IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>

Constructors

OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>(Nullable<StoreObjectIdentifier>, OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Properties

Metadata

The entity type being configured.

(Inherited from OwnedNavigationTableBuilder)
Name

The specified table name.

(Inherited from OwnedNavigationTableBuilder)
Schema

The specified table schema.

(Inherited from OwnedNavigationTableBuilder)
StoreObject

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

(Inherited from OwnedNavigationTableBuilder)

Methods

ExcludeFromMigrations(Boolean)

Configures the table to be ignored by migrations.

GetStoreObjectIdentifier()

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

(Inherited from OwnedNavigationTableBuilder)
HasCheckConstraint(String, String)

Configures a database check constraint when targeting a relational database.

(Inherited from OwnedNavigationTableBuilder)
HasComment(String)

Configures a comment to be applied to the table

HasTrigger(String)

Configures a database trigger on the table.

(Inherited from OwnedNavigationTableBuilder)
Property(String)

Maps the property to a column on the current table and returns an object that can be used to provide table-specific configuration if the property is mapped to more than one table.

(Inherited from OwnedNavigationTableBuilder)
Property<TProperty>(Expression<Func<TDependentEntity,TProperty>>)

Maps the property to a column on the current table and returns an object that can be used to provide table-specific configuration if the property is mapped to more than one table.

Property<TProperty>(String)

Maps the property to a column on the current table and returns an object that can be used to provide table-specific configuration if the property is mapped to more than one table.

(Inherited from OwnedNavigationTableBuilder)

Explicit Interface Implementations

IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>.Instance
IInfrastructure<OwnedNavigationBuilder>.Instance (Inherited from OwnedNavigationTableBuilder)

Extension Methods

GetInfrastructure<T>(IInfrastructure<T>)

Gets the value from a property that is being hidden using IInfrastructure<T>.

This method is typically used by database providers (and other extensions). It is generally not used in application code.

UseSqlReturningClause(OwnedNavigationTableBuilder, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

UseSqlReturningClause<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean)

Configures whether to use the SQL RETURNING clause when saving changes to the table. The RETURNING clause is incompatible with certain Sqlite features, such as virtual tables or tables with AFTER triggers.

IsMemoryOptimized(OwnedNavigationTableBuilder, Boolean)

Configures the table that the entity maps to when targeting SQL Server as memory-optimized.

IsMemoryOptimized<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean)

Configures the table that the entity maps to when targeting SQL Server as memory-optimized.

IsTemporal(OwnedNavigationTableBuilder, Action<OwnedNavigationTemporalTableBuilder>)

Configures the table as temporal.

IsTemporal(OwnedNavigationTableBuilder, Boolean)

Configures the table as temporal.

IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity, TDependentEntity>, Action<OwnedNavigationTemporalTableBuilder<TOwnerEntity, TDependentEntity>>)

Configures the table as temporal.

IsTemporal<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean)

Configures the table as temporal.

UseSqlOutputClause(OwnedNavigationTableBuilder, Boolean)

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

UseSqlOutputClause<TOwnerEntity,TDependentEntity>(OwnedNavigationTableBuilder<TOwnerEntity,TDependentEntity>, Boolean)

Configures whether to use the SQL OUTPUT clause when saving changes to the table. The OUTPUT clause is incompatible with certain SQL Server features, such as tables with triggers.

Applies to