Delen via


OwnedNavigationViewBuilder<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 OwnedNavigationViewBuilder<TOwnerEntity,TDependentEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationViewBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>> where TOwnerEntity : class where TDependentEntity : class
type OwnedNavigationViewBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)> = class
    inherit OwnedNavigationViewBuilder
    interface IInfrastructure<OwnedNavigationBuilder<'OwnerEntity, 'DependentEntity>>
Public Class OwnedNavigationViewBuilder(Of TOwnerEntity, TDependentEntity)
Inherits OwnedNavigationViewBuilder
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
OwnedNavigationViewBuilder<TOwnerEntity,TDependentEntity>
Implements
IInfrastructure<OwnedNavigationBuilder<TOwnerEntity,TDependentEntity>>

Constructors

OwnedNavigationViewBuilder<TOwnerEntity,TDependentEntity>(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

Name

The specified view name.

(Inherited from OwnedNavigationViewBuilder)
Schema

The specified view schema.

(Inherited from OwnedNavigationViewBuilder)
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 OwnedNavigationViewBuilder)

Methods

Property(String)

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

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

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

Property<TProperty>(String)

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

(Inherited from OwnedNavigationViewBuilder)

Explicit Interface Implementations

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

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.

Applies to