共用方式為


RelationalOwnedNavigationBuilderExtensions Class

Definition

Relational database specific extension methods for OwnedNavigationBuilder.

public static class RelationalOwnedNavigationBuilderExtensions
type RelationalOwnedNavigationBuilderExtensions = class
Public Module RelationalOwnedNavigationBuilderExtensions
Inheritance
RelationalOwnedNavigationBuilderExtensions

Remarks

See Modeling entity types and relationships for more information and examples.

Methods

HasCheckConstraint(OwnedNavigationBuilder, String, String)

Configures a database check constraint when targeting a relational database.

HasCheckConstraint<TEntity,TDependentEntity>(OwnedNavigationBuilder<TEntity,TDependentEntity>, String, String)

Configures a database check constraint when targeting a relational database.

HasColumnType(OwnedNavigationBuilder, String)

Set the relational database column type to be used to store the document represented by this owned entity.

HasColumnType<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String)

Set the relational database column type to be used to store the document represented by this owned entity.

HasJsonPropertyName(OwnedNavigationBuilder, String)

Configures the navigation of an entity mapped to a JSON column, mapping the navigation to a specific JSON property, rather than using the navigation name.

HasJsonPropertyName<TSource,TTarget>(OwnedNavigationBuilder<TSource,TTarget>, String)

Configures the navigation of an entity mapped to a JSON column, mapping the navigation to a specific JSON property, rather than using the navigation name.

ToJson(OwnedNavigationBuilder, String)

Configures a relationship where this entity type and the entities that it owns are mapped to a JSON column in the database.

ToJson(OwnedNavigationBuilder)

Configures a relationship where this entity type and the entities that it owns are mapped to a JSON column in the database.

ToJson<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>, String)

Configures a relationship where this entity type and the entities that it owns are mapped to a JSON column in the database.

ToJson<TOwnerEntity,TDependentEntity>(OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>)

Configures a relationship where this entity type and the entities that it owns are mapped to a JSON column in the database.

Applies to