Share via


TableValuedFunctionBuilder<TEntity> Class

Definition

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

public class TableValuedFunctionBuilder<TEntity> : Microsoft.EntityFrameworkCore.Metadata.Builders.TableValuedFunctionBuilder, Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<TEntity>> where TEntity : class
type TableValuedFunctionBuilder<'Entity (requires 'Entity : null)> = class
    inherit TableValuedFunctionBuilder
    interface IInfrastructure<EntityTypeBuilder<'Entity>>
Public Class TableValuedFunctionBuilder(Of TEntity)
Inherits TableValuedFunctionBuilder
Implements IInfrastructure(Of EntityTypeBuilder(Of TEntity))

Type Parameters

TEntity

The entity type being configured.

Inheritance
TableValuedFunctionBuilder<TEntity>
Implements

Constructors

TableValuedFunctionBuilder<TEntity>(IMutableDbFunction, EntityTypeBuilder<TEntity>)

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<EntityTypeBuilder<TEntity>>.Instance
IInfrastructure<EntityTypeBuilder>.Instance (Inherited from TableValuedFunctionBuilder)
IInfrastructure<IConventionDbFunctionBuilder>.Instance

Gets the value of the property being hidden.

(Inherited from DbFunctionBuilderBase)

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