Delen via


OwnedNavigationTableValuedFunctionBuilder<TOwnerEntity,TDependentEntity> Class

Definition

Provides a simple API for configuring a IMutableDbFunction that an entity type is mapped to.

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

Constructors

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

Builder

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 DbFunctionBuilderBase)
Metadata

The function being configured.

(Inherited from DbFunctionBuilderBase)

Methods

HasAnnotation(String, Object)

Adds or updates an annotation on the database function. If an annotation with the key specified in annotation already exists, its value will be updated.

HasName(String)

Sets the name of the database function.

HasParameter(String, Action<DbFunctionParameterBuilder>)

Returns an object that can be used to configure a parameter with the given name. If no parameter with the given name exists, then a new parameter will be added.

HasParameter(String)

Returns an object that can be used to configure a parameter with the given name. If no parameter with the given name exists, then a new parameter will be added.

(Inherited from DbFunctionBuilderBase)
HasSchema(String)

Sets the schema of the database function.

IsBuiltIn(Boolean)

Marks whether the database function is built-in.

Explicit Interface Implementations

IInfrastructure<IConventionDbFunctionBuilder>.Instance

Gets the value of the property being hidden.

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

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